wpseek.com
A WordPress-centric search engine for devs and theme authors



themes_update_check_locales › WordPress Filter Hooks

Since4.5.0
Deprecatedn/a
apply_filters( 'themes_update_check_locales', $locales )
Parameters:
  • (string[]) $locales Theme locales. Default is all available locales of the site.
    Required: Yes
Defined at:
Codex:

Filters the locales requested for theme translations.





Source

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