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



ngettext_with_context ›

Depuis2.8.0
Dépréciéen/a
apply_filters( 'ngettext_with_context', $translation, $single, $plural, $number, $context, $domain )
Paramètres: (6)
  • (string) $translation Translated text.
    Requis: Oui
  • (string) $single The text to be used if the number is singular.
    Requis: Oui
  • (string) $plural The text to be used if the number is plural.
    Requis: Oui
  • (string) $number The number to compare against to use either the singular or plural form.
    Requis: Oui
  • (string) $context Context information for the translators.
    Requis: Oui
  • (string) $domain Text domain. Unique identifier for retrieving translated strings.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the singular or plural form of a string with gettext context.





Source

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