Filters the themes prepared for JavaScript, for themes.php.
Could be useful for changing the order, which is by name by default.
$prepared_themesarray
$prepared_themes = apply_filters( 'wp_prepare_themes_for_js', $prepared_themes );
| Version | Description |
|---|---|
| 3.8.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_prepare_themes_for_js