WordPress at Your Fingertips
filter is not described

wp_prepare_themes_for_js filter-hook . WP 3.8.0

Filters the themes prepared for JavaScript, for themes.php.

Could be useful for changing the order, which is by name by default.


add_filter( 'wp_prepare_themes_for_js', 'filter_function_name_8058' );
function filter_function_name_8058( $prepared_themes ){
	// filter...

	return $prepared_themes;
Array of theme data.

Where the hook is called

wp-admin/includes/theme.php 792
$prepared_themes = apply_filters( 'wp_prepare_themes_for_js', $prepared_themes );

Where in WP core the hook is used WordPress

Usage not found.