WordPress at a glance
filter is not described

plugins_update_check_locales filter-hook . WP 3.7.0

Filters the locales requested for plugin translations.


add_filter( 'plugins_update_check_locales', 'filter_function_name_3861' );
function filter_function_name_3861( $locales ){
	// filter...

	return $locales;
Plugin locales.
Default: all available locales of the site


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

Where the hook is called

wp-includes/update.php 310
$locales = apply_filters( 'plugins_update_check_locales', $locales );

Where the hook is used (in WP core)

Does not used.