WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about customize_loaded_components

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-customize-manager.php apply_filters 352 /**
* Filters the core Customizer components to load.
*
* 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 {@see 'plugins_loaded'} action, so it cannot be added
* in a theme.
*
* @since 4.4.0
*
* @see WP_Customize_Manager::__construct()
*
* @param string[] $components Array of core components to load.
* @param WP_Customize_Manager $manager WP_Customize_Manager instance.
*/

Hook Parameters

Parameter Type Name Description
string[] $components Array of core components to load.
WP_Customize_Manager $manager WP_Customize_Manager instance.