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



customize_load_themes › Filtr WordPress Hooks

Od4.9.0
Przestarzałyn/a
› apply_filters( 'customize_load_themes', $themes, $args, $this )
Parametry: (3)
  • () themes Nested array or object of theme data.
    Wymagane: Tak
  • () args List of arguments, such as page, search term, and tags to query for.
    Wymagane: Tak
  • () manager Instance of Customize manager.
    Wymagane: Tak
Zobacz:
  • WP_Customize_Manager::__construct()
Zdefiniowane na:
Codex:

Filters the theme data loaded in the customizer.

This allows theme data to be loading from an external source, or modification of data loaded from `wp_prepare_themes_for_js()` or WordPress.org via `themes_api()`.




Źródło

$themes = apply_filters( 'customize_load_themes', $themes, $args, $this );