WordPress at a glance
filter is not described

themes_update_check_locales filter-hook . WP 3.7.0

Filters the locales requested for theme translations.

Usage

add_filter( 'themes_update_check_locales', 'filter_function_name_4486' );
function filter_function_name_4486( $locales ){
	// filter...

	return $locales;
}
$locales(array)
Theme locales.
Default: all available locales of the site

Notes

  • Since 4.5.0 The default value of the $locales parameter changed to include all locales.

Where the hook is called

wp_update_themes()
wp-includes/update.php 493
$locales = apply_filters( 'themes_update_check_locales', $locales );

Where the hook is used (in WP core)

Does not used.