wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



gettext_{$domain} › WordPress Filter Hooks

Da5.5.0
Deprecaton/a
apply_filters( "gettext_{$domain}", $translation, $text, $domain )
Parametri: (3)
  • (string) $translation Translated text.
    Richiesto:
  • (string) $text Text to translate.
    Richiesto:
  • (string) $domain Text domain. Unique identifier for retrieving translated strings.
    Richiesto:
Definito a:
Codex:

Filters text with its translation for a domain.

The dynamic portion of the hook name, $domain, refers to the text domain.





Sorgenti

$translation = apply_filters( "gettext_{$domain}", $translation, $text, $domain );