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



ngettext_with_context ›

Seit2.8.0
Veraltetn/v
apply_filters( 'ngettext_with_context', $translation, $single, $plural, $number, $context, $domain )
Parameter: (6)
  • (string) $translation Translated text.
    Erforderlich: Ja
  • (string) $single The text to be used if the number is singular.
    Erforderlich: Ja
  • (string) $plural The text to be used if the number is plural.
    Erforderlich: Ja
  • (string) $number The number to compare against to use either the singular or plural form.
    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 the singular or plural form of a string with gettext context.





Quellcode

return apply_filters( 'ngettext_with_context', $translation, $single, $plural, $number, $context, $domain );