WordPress at a glance
filter is not described

plugins_update_check_locales filter-hook . WC 3.7.0

Filters the locales requested for plugin translations.

Usage

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

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

Changelog

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

Where the hook is called

WC_Helper_Updater::get_translations_update_data()
plugins_update_check_locales
woocommerce/includes/admin/helper/class-wc-helper-updater.php 195
$locales = apply_filters( 'plugins_update_check_locales', $locales );

Where in WP core the hook is used WooCommerce

Usage not found.