W3cubDocs

/WordPress

apply_filters( 'customize_load_themes', array $themes, array $args, WP_Customize_Manager $manager )

Filters the theme data loaded in the customizer.

Description

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().

See also

Parameters

$themes

(array) Nested array of theme data.

$args

(array) List of arguments, such as page, search term, and tags to query for.

$manager

(WP_Customize_Manager) Instance of Customize manager.

Source

File: wp-includes/class-wp-customize-manager.php

View on Trac

Changelog

Version Description
4.9.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/customize_load_themes