wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



customize_loaded_components › Filtr WordPress Hooks

Od4.4.0
Przestarzałyn/a
› apply_filters( 'customize_loaded_components', $this->components, $this )
Parametry: (2)
  • () components Array of core components to load.
    Wymagane: Tak
  • () manager WP_Customize_Manager instance.
    Wymagane: Tak
Zobacz:
  • WP_Customize_Manager::__construct()
Zdefiniowane na:
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.




Źródło

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