Improve phpDoc for add_settings_section. Fixes #13801 props frankieroberto.
git-svn-id: https://develop.svn.wordpress.org/trunk@15180 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8dc054b4ed
commit
537fcf4970
@ -2972,11 +2972,11 @@ function get_hidden_meta_boxes( $screen ) {
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @global $wp_settings_sections Storage array of all settings sections added to admin pages
|
||||
|
||||
*
|
||||
* @param string $id Slug-name to identify the section. Used in the 'id' attribute of tags.
|
||||
* @param string $title Formatted title of the section. Shown as the heading for the section.
|
||||
* @param string $callback Function that echo's out content for the section heading.
|
||||
* @param string $page The slug-name of the settings page on which to show the section (general, reading, writing, ...).
|
||||
* @param string $callback Function that echos out any content at the top of the section (between heading and fields).
|
||||
* @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();
|
||||
*/
|
||||
function add_settings_section($id, $title, $callback, $page) {
|
||||
global $wp_settings_sections;
|
||||
|
Loading…
Reference in New Issue
Block a user