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



core_version_check_locale › WordPress Filter Hooks

Since2.8.0
Deprecatedn/a
apply_filters( 'core_version_check_locale', get_locale()
Parameters:
  • (string) $locale Current locale.
    Required: Yes
Defined at:
Codex:

Filters the locale requested for WordPress core translations.





Source

$locale = apply_filters( 'core_version_check_locale', get_locale() );