add_settings_section Wordpress function


Description:

Add a new section to a settings page.


Syntax:


Arguments:

(string) $id Slug-name to identify the section. Used in the 'id' attribute of tags.
(string) $title Formatted title of the section. Shown as the heading for the section.
(string) $callback Function that echos out any content at the top of the section (between heading and fields).
(string) $page The slug-name of the settings page on which to show the section. Built-in pages include 'general', 'reading', 'writing', 'discussion', 'media', etc. Create your own using add_options_page();


Return Type:


Define At:

wp-admin/includes/template.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/add_settings_section


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×