WordPress at a glance
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_7861' );
function filter_function_name_7861( $prepared_themes ){
	// filter...

	return $prepared_themes;
Array of themes.

Where the hook is called

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

Where the hook is used (in WP core)

Использование не найдено.