wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



customize_loaded_components › WordPress Filter Hooks

Da4.4.0
Deprecaton/a
› apply_filters( 'customize_loaded_components', $this->components, $this )
Parametri: (2)
  • () components Array of core components to load.
    Richiesto: Sì
  • () manager WP_Customize_Manager instance.
    Richiesto: Sì
Vedi:
  • WP_Customize_Manager::__construct()
Definito a:
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.




Sorgenti

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