wpseek.com
A WordPress-centric search engine for devs and theme authors



gettext_with_context › WordPress Filter Hooks

Since2.8.0
Deprecatedn/a
apply_filters( 'gettext_with_context', $translation, $text, $context, $domain )
Parameters: (4)
  • () translation Translated text.
    Required: Yes
  • () text Text to translate.
    Required: Yes
  • () context Context information for the translators.
    Required: Yes
  • () domain Text domain. Unique identifier for retrieving translated strings.
    Required: Yes
Defined at:
Codex:

Filters text with its translation based on context information.





Source

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