wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



customize_loaded_components › Les Filtres WordPress

Depuis4.4.0
Dépréciéen/a
› apply_filters( 'customize_loaded_components', $this->components, $this )
Paramètres: (2)
  • () components Array of core components to load.
    Requis: Oui
  • () manager WP_Customize_Manager instance.
    Requis: Oui
Voir:
  • WP_Customize_Manager::__construct()
Défini(e) dans:
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.




Source

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