Exemplo n.º 1
0
    /**
     * Settings Page
     * Outputs the Admin Page and calls the Settings registered with the Settings API in init_options_page().
     */
    static function page()
    {
        ?>
		<div class="wrap">
			<?php 
        SnS_Admin::nav();
        ?>
			<form action="" method="post" autocomplete="off">
			<?php 
        settings_fields(SnS_Admin::OPTION_GROUP);
        ?>
			<?php 
        do_settings_sections(SnS_Admin::MENU_SLUG);
        ?>
			<?php 
        if (apply_filters('sns_show_submit_button', true)) {
            submit_button();
        }
        ?>
			</form>
		</div>
		<?php 
    }