wpseek.com
A WordPress-centric search engine for devs and theme authors



customize_load_themes › WordPress Filter Hooks

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