On this page
apply_filters( 'customize_loaded_components', string[] $components, WP_Customize_Manager $manager )
Filters the core Customizer components to load.
Description
This allows Core components to be excluded from being instantiated by filtering them out of the array. Note that this filter generally runs during the ‘plugins_loaded’ action, so it cannot be added in a theme.
See also
Parameters
$componentsstring[]-
Array of core components to load.
$managerWP_Customize_Manager-
WP_Customize_Manager instance.
Source
File: wp-includes/class-wp-customize-manager.php. View all references
$components = apply_filters( 'customize_loaded_components', $this->components, $this );
Related
Used By
| Used By | Description |
|---|---|
| WP_Customize_Manager::__construct() wp-includes/class-wp-customize-manager.php | Constructor. |
Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/customize_loaded_components