wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



gettext_with_context_{$domain} › Filtr WordPress Hooks

Od5.5.0
Przestarzałyn/a
apply_filters( "gettext_with_context_{$domain}", $translation, $text, $context, $domain )
Parametry: (4)
  • (string) $translation Translated text.
    Wymagane: Tak
  • (string) $text Text to translate.
    Wymagane: Tak
  • (string) $context Context information for the translators.
    Wymagane: Tak
  • (string) $domain Text domain. Unique identifier for retrieving translated strings.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters text with its translation based on context information for a domain.

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





Źródło

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