当前浏览:首页 / WordPress钩子 / plugin_locale

apply_filters( 'plugin_locale', string $locale, string $domain )

过滤插件的区域设置

plugin 插件more...


参数

$localestring
插件的当前区域设置。
$domainstring
文本域。用于检索翻译字符串的唯一标识符。


源码

查看源码 官方文档


更新日志

版本描述
3.0.0开始引入