Filter hook 'customize_load_themes'
in WP Core File wp-includes/class-wp-customize-manager.php at line 5979
Description
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()`.
Occurrences
Filename |
Line Number |
wp-includes/class-wp-customize-manager.php |
5979 |
Parameters
Type |
Name |
Description |
array|stdClass |
$themes |
Nested array or object of theme data. |
array |
$args |
List of arguments, such as page, search term, and tags to query for. |
WP_Customize_Manager |
$manager |
Instance of Customize manager. |
PHP Doc
/**
* 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()`.
*
* @since 4.9.0
*
* @see wp_prepare_themes_for_js()
* @see themes_api()
* @see WP_Customize_Manager::__construct()
*
* @param array|stdClass $themes Nested array or object of theme data.
* @param array $args List of arguments, such as page, search term, and tags to query for.
* @param WP_Customize_Manager $manager Instance of Customize manager.
*/