Changeset 39892
- Timestamp:
- 01/12/2017 06:37:06 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets.php
r39311 r39892 282 282 * @global array $wp_registered_sidebars Stores the new sidebar in this array by sidebar ID. 283 283 * 284 * @param string $name The ID of the sidebar when it was added.285 */ 286 function unregister_sidebar( $ name) {284 * @param string|int $sidebar_id The ID of the sidebar when it was registered. 285 */ 286 function unregister_sidebar( $sidebar_id ) { 287 287 global $wp_registered_sidebars; 288 288 289 unset( $wp_registered_sidebars[ $ name] );289 unset( $wp_registered_sidebars[ $sidebar_id ] ); 290 290 } 291 291
Note: See TracChangeset
for help on using the changeset viewer.