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)
  • () translation Translated text.
    Richiesto: Sì
  • () text Text to translate.
    Richiesto: Sì
  • () domain Text domain. Unique identifier for retrieving translated strings.
    Richiesto: Sì
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 );