WordPress.org

Make WordPress Core

Changeset 15180


Ignore:
Timestamp:
06/09/10 20:21:43 (5 years ago)
Author:
westi
Message:

Improve phpDoc for add_settings_section. Fixes #13801 props frankieroberto.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r15178 r15180  
    29732973 * 
    29742974 * @global $wp_settings_sections Storage array of all settings sections added to admin pages 
    2975  
     2975 * 
    29762976 * @param string $id Slug-name to identify the section. Used in the 'id' attribute of tags. 
    29772977 * @param string $title Formatted title of the section. Shown as the heading for the section. 
    2978  * @param string $callback Function that echo's out content for the section heading. 
    2979  * @param string $page The slug-name of the settings page on which to show the section (general, reading, writing, ...). 
     2978 * @param string $callback Function that echos out any content at the top of the section (between heading and fields). 
     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(); 
    29802980 */ 
    29812981function add_settings_section($id, $title, $callback, $page) { 
Note: See TracChangeset for help on using the changeset viewer.