core_version_check_locale
apply_filters( ‘core_version_check_locale’, string $locale )
过滤器::过滤WordPress核心翻译请求的区域设置。
Filter Hook: Filters the locale requested for WordPress core translations.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$locale | (string) | 当前区域设置。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.8.0 | wp-includes/update.php:66 | 1 | 0 |
core_version_check_locale 为WP2原创文章,链接:https://www.wp2.cn/hook/core_version_check_locale/