wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



gettext_with_context › WordPress Filter Hooks

Seit2.8.0
Veraltetn/v
apply_filters( 'gettext_with_context', $translation, $text, $context, $domain )
Parameter: (4)
  • (string) $translation Translated text.
    Erforderlich: Ja
  • (string) $text Text to translate.
    Erforderlich: Ja
  • (string) $context Context information for the translators.
    Erforderlich: Ja
  • (string) $domain Text domain. Unique identifier for retrieving translated strings.
    Erforderlich: Ja
Definiert in:
Codex:

Filters text with its translation based on context information.





Quellcode

$translation = apply_filters( 'gettext_with_context', $translation, $text, $context, $domain );