WordPress开发者和主题制作者的搜索引擎



core_version_check_locale ›

Since2.8.0
已弃用n/a
apply_filters( 'core_version_check_locale', get_locale()
参数:
  • (string) $locale Current locale.
    Required: Yes
定义在:
文档:

Filters the locale requested for WordPress core translations.





源码

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