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



gettext ›

Since2.0.11
已弃用n/a
apply_filters( 'gettext', $translation, $text, $domain )
参数: (3)
  • (string) $translation Translated text.
    Required: Yes
  • (string) $text Text to translate.
    Required: Yes
  • (string) $domain Text domain. Unique identifier for retrieving translated strings.
    Required: Yes
定义在:
文档:

Filters text with its translation.





源码

return apply_filters( 'gettext', $translation, $text, $domain );