A WordPress-centric search engine for devs and theme authors



customize_load_themes ›

Since4.9.0
Deprecatedn/a
apply_filters( 'customize_load_themes', $themes, $args, $this )
Parameters: (3)
  • (array) $themes Nested array of theme data.
    Required: Yes
  • (array) $args List of arguments, such as page, search term, and tags to query for.
    Required: Yes
  • (WP_Customize_Manager) $manager Instance of Customize manager.
    Required: Yes
See:
  • WP_Customize_Manager::__construct()
Defined at:
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 );