WP_Customize_Manager::remove_section( string $id )
Remove a customize section.
Description
Note that removing the section doesn’t destroy the WP_Customize_Section instance or remove its filters.
Parameters
- $id
-
(string) (Required) Section ID.
Source
File: wp-includes/class-wp-customize-manager.php
public function remove_section( $id ) { unset( $this->sections[ $id ] ); }
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_manager/remove_section