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



plugins_update_check_locales › WordPress Filter Hooks

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

Filters the locales requested for plugin translations.





Source

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