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



gettext_with_context › WordPress过滤钩子

Since2.8.0
已弃用n/a
apply_filters( 'gettext_with_context', $translation, $text, $context, $domain )
参数: (4)
  • (string) $translation Translated text.
    Required: Yes
  • (string) $text Text to translate.
    Required: Yes
  • (string) $context Context information for the translators.
    Required: Yes
  • (string) $domain Text domain. Unique identifier for retrieving translated strings.
    Required: Yes
定义在:
文档:

Filters text with its translation based on context information.





源码

$translation = apply_filters( 'gettext_with_context', $translation, $text, $context, $domain );