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:
Peter Westwood 2010-06-09 20:21:43 +00:00
parent 8dc054b4ed
commit 537fcf4970
1 changed files with 3 additions and 3 deletions

View File

@ -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;