apply_filters( 'customize_loaded_components', array $components, WP_Customize_Manager $this )

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

$components

List of core components to load.

$this

WP_Customize_Manager instance.


Source

File: wp-includes/class-wp-customize-manager.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.4.0 Introduced.