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. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/customize_control_active