themes_update_check_locales WordPress Filter Hook

Themes update check locales is a WordPress hook that is used to check if there are any new versions of WordPress themes available for update. This hook is used by the WordPress update manager to check for updates to themes.

apply_filters( 'themes_update_check_locales', array $locales ) #

Filters the locales requested for theme translations.


Parameters

$locales

(array)Theme locales. Default is all available locales of the site.


Top ↑

Source

File: wp-includes/update.php

View on Trac



Top ↑

Changelog

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

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.