WP_Customize_Manager::remove_control( string $id )
Remove a customize control.
Description Description
Parameters Parameters
- $id
-
(string) (Required) ID of the control.
Source Source
File: wp-includes/class-wp-customize-manager.php
public function remove_control( $id ) { unset( $this->controls[ $id ] ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
To remove ‘background_color’ control from theme colors in customizer.