apply_filters( ‘plugins_update_check_locales’, string[] $locales )

In this article

Filters the locales requested for plugin translations.

Parameters

$localesstring[]
Plugin locales. Default is all available locales of the site.

Source

$locales = apply_filters( 'plugins_update_check_locales', $locales );

Changelog

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

User Contributed Notes

You must log in before being able to contribute a note or feedback.