Filters the themes prepared for JavaScript, for themes.php.
$prepared_themesarraywp-admin/includes/theme.php:812wp_prepare_themes_for_js() * Could be useful for changing the order, which is by name by default. * * @since 3.8.0 * * @param array $prepared_themes Array of theme data. */ $prepared_themes = apply_filters( 'wp_prepare_themes_for_js', $prepared_themes ); $prepared_themes = array_values( $prepared_themes ); return array_filter( $prepared_themes );} /** * Prints JS templates for the theme-browsing UI in the Customizer.Introduced in 3.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.