wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



gettext_{$domain} › Les Filtres WordPress

Depuis5.5.0
Dépréciéen/a
› apply_filters( "gettext_{$domain}", $translation, $text, $domain )
Paramètres: (3)
  • () translation Translated text.
    Requis: Oui
  • () text Text to translate.
    Requis: Oui
  • () domain Text domain. Unique identifier for retrieving translated strings.
    Requis: Oui
Défini(e) dans:
Codex:

Filters text with its translation for a domain.

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




Source

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