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



customize_load_themes › Les Filtres WordPress

Depuis4.9.0
Dépréciéen/a
› apply_filters( 'customize_load_themes', $themes, $args, $this )
Paramètres: (3)
  • () themes Nested array or object of theme data.
    Requis: Oui
  • () args List of arguments, such as page, search term, and tags to query for.
    Requis: Oui
  • () manager Instance of Customize manager.
    Requis: Oui
Voir:
  • WP_Customize_Manager::__construct()
Défini(e) dans:
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()`.




Source

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