apply_filters( 'plugins_update_check_locales', array $locales )

Filters the locales requested for plugin translations.


Parameters

$locales

Plugin locales. Default is all available locales of the site.


Source

File: wp-includes/update.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.5.0 The default value of the $locales parameter changed to include all locales.
WP-3.7.0 Introduced.