wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



customize_loaded_components › Hooks de Filtros WordPress

Desde4.4.0
Obsoleton/a
› apply_filters( 'customize_loaded_components', $this->components, $this )
Parâmetros: (2)
  • () components Array of core components to load.
    Required: Yes
  • () manager WP_Customize_Manager instance.
    Required: Yes
Ver:
  • WP_Customize_Manager::__construct()
Definido em:
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.




Fonte

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