wordpress / latest / hooks / themes_update_check_locales.html

apply_filters( 'themes_update_check_locales', string[] $locales )

Filters the locales requested for theme translations.

Parameters

$locales string[]
Theme locales. Default is all available locales of the site.

Source

File: wp-includes/update.php. View all references

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

Used By

Used By Description

Changelog

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

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/themes_update_check_locales