wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



customize_loaded_components › WordPress Filter Hooks

Seit4.4.0
Veraltetn/v
apply_filters( 'customize_loaded_components', $this->components, $this )
Parameter: (2)
  • () components Array of core components to load.
    Erforderlich: Ja
  • () manager WP_Customize_Manager instance.
    Erforderlich: Ja
Siehe:
  • WP_Customize_Manager::__construct()
Definiert in:
Codex:

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.




Quellcode

$components = apply_filters( 'customize_loaded_components', $this->components, $this );