2965
2965
* Show settings sections in your admin page callback function with do_settings_sections().
2966
2966
* Add settings fields to your section with add_settings_field()
2969
2969
* content you want to show at the top of the settings section before the actual
2970
2970
* fields. It can output nothing if you want.
2974
2974
* @global $wp_settings_sections Storage array of all settings sections added to admin pages
2976
2976
* @param string $id Slug-name to identify the section. Used in the 'id' attribute of tags.
2977
2977
* @param string $title Formatted title of the section. Shown as the heading for the section.
2979
* @param string $page The slug-name of the settings page on which to show the section (general, reading, writing, ...).
2979
* @param 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();
2981
2981
function add_settings_section($id, $title, $callback, $page) {
2982
2982
global $wp_settings_sections;