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



ngettext › Les Filtres WordPress

Depuis2.2.0
Dépréciéen/a
› apply_filters( 'ngettext', $translation, $single, $plural, $number, $domain )
Paramètres: (5)
  • () translation Translated text.
    Requis: Oui
  • () single The text to be used if the number is singular.
    Requis: Oui
  • () plural The text to be used if the number is plural.
    Requis: Oui
  • () number The number to compare against to use either the singular or plural form.
    Requis: Oui
  • () 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.





Source

$translation = apply_filters( 'ngettext', $translation, $single, $plural, $number, $domain );