Changeset 48104 for trunk/src/wp-includes/widgets.php
- Timestamp:
- 06/20/2020 12:00:07 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets.php
r47935 r48104 43 43 44 44 /** 45 * Stores the registered widget control (options).45 * Stores the registered widget controls (options). 46 46 * 47 47 * @global array $wp_registered_widget_controls … … 156 156 * 157 157 * @type string $id The base string of the unique identifier for each sidebar. If provided, and multiple 158 * sidebars are being defined, the idwill have "-2" appended, and so on.158 * sidebars are being defined, the ID will have "-2" appended, and so on. 159 159 * Default 'sidebar-' followed by the number the sidebar creation is currently at. 160 160 * @type string $name The name or title for the sidebars displayed in the admin dashboard. If registering … … 221 221 * @since 2.2.0 222 222 * 223 * @global array $wp_registered_sidebars Stores the new sidebar in this array by sidebar ID.223 * @global array $wp_registered_sidebars Registered sidebars. 224 224 * 225 225 * @param array|string $args { … … 310 310 * @since 2.2.0 311 311 * 312 * @global array $wp_registered_sidebars Re moves the sidebar from this array by sidebar ID.312 * @global array $wp_registered_sidebars Registered sidebars. 313 313 * 314 314 * @param string|int $sidebar_id The ID of the sidebar when it was registered. … … 656 656 * 657 657 * By default this displays the default sidebar or 'sidebar-1'. If your theme specifies the 'id' or 658 * 'name' parameter for its registered sidebars you can pass an idor name as the $index parameter.658 * 'name' parameter for its registered sidebars you can pass an ID or name as the $index parameter. 659 659 * Otherwise, you can pass in a numerical index to display the sidebar at that index. 660 660 * … … 662 662 * 663 663 * @global array $wp_registered_sidebars Registered sidebars. 664 * @global array $wp_registered_widgets 664 * @global array $wp_registered_widgets Registered widgets. 665 665 * 666 666 * @param int|string $index Optional, default is 1. Index, name or ID of dynamic sidebar. … … 898 898 * @since 2.2.0 899 899 * 900 * @global array $wp_registered_widgets 900 * @global array $wp_registered_widgets Registered widgets. 901 901 * @global array $wp_registered_sidebars Registered sidebars. 902 902 * … … 1227 1227 * @global array $wp_registered_sidebars Registered sidebars. 1228 1228 * @global array $sidebars_widgets 1229 * @global array $wp_registered_widgets 1229 * @global array $wp_registered_widgets Registered widgets. 1230 1230 * 1231 1231 * @param string|bool $theme_changed Whether the theme was changed as a boolean. A value … … 1677 1677 * 1678 1678 * @param array $widget_rss RSS widget feed data. Expects unescaped data. 1679 * @param bool $check_feed Optional, default is true. Whether to check feed for errors.1679 * @param bool $check_feed Optional. Whether to check feed for errors. Default true. 1680 1680 * @return array 1681 1681 */
Note: See TracChangeset
for help on using the changeset viewer.