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.

Top ↑

Source

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

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


Top ↑

Changelog

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

Top ↑

User Contributed Notes

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