On this page
apply_filters( 'wp_prepare_themes_for_js', array $prepared_themes )
Filters the themes prepared for JavaScript, for themes.php.
Description
Could be useful for changing the order, which is by name by default.
Parameters
$prepared_themesarray-
Array of theme data.
Source
File: wp-admin/includes/theme.php. View all references
$prepared_themes = apply_filters( 'wp_prepare_themes_for_js', $prepared_themes );
Related
Used By
| Used By | Description |
|---|---|
| wp_prepare_themes_for_js() wp-admin/includes/theme.php | Prepares themes for JavaScript. |
Changelog
| Version | Description |
|---|---|
| 3.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_prepare_themes_for_js