customize_control_active WordPress Filter Hook
The customize_control_active hook is used to add custom active control settings to the WordPress customizer. This hook allows you to add your own custom settings to the WordPress customizer, and is called when the customizer is first loaded.
apply_filters( 'customize_control_active', bool $active , WP_Customize_Control $control ) #
Filters response of WP_Customize_Control::active().
Parameters
- $active
(bool)Whether the Customizer control is active.
- $control
(WP_Customize_Control)WP_Customize_Control instance.
Source
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |