Uma área de pesquisa sobre o WordPress para devs e autores do tema



gettext_with_context ›

Desde2.8.0
Obsoleton/a
apply_filters( 'gettext_with_context', $translation, $text, $context, $domain )
Parâmetros: (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
Definido em:
Codex:

Filters text with its translation based on context information.





Fonte

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