is_textdomain_loaded()
is_textdomain_loaded( string $domain )
是否有文本域的翻译。
Whether there are translations for the text domain.
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$domain | (string) | 必需 | 文本域。检索转换字符串的唯一标识符。 |
返回(Return)
(bool)是否有翻译。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.0.0 | wp-includes/l10n.php:1260 | 2 | 0 |
is_textdomain_loaded() 为WP2原创文章,链接:https://www.wp2.cn/functions/is_textdomain_loaded/