A WordPress-centric search engine for devs and theme authors



gettext ›

Since2.0.11
Deprecatedn/a
apply_filters( 'gettext', $translation, $text, $domain )
Parameters: (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
Defined at:
Codex:

Filters text with its translation.





Source

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