themes_update_check_locales

Advertisement

Summery Summery

Filters the locales requested for theme translations.

Syntax Syntax

apply_filters( 'themes_update_check_locales', array $locales )

Parameters Parameters

$locales

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

Source Source

File: wp-includes/update.php

Advertisement

Changelog Changelog

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

Advertisement

Leave a Reply