Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/class-wp-customize-manager.php | apply_filters | 5945 | /** * 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. */ |
Hook Parameters
Parameter 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. |