Un motore di ricerca WordPress per sviluppatori e autori di temi



ngettext ›

Da2.2.0
Deprecaton/a
apply_filters( 'ngettext', $translation, $single, $plural, $number, $domain )
Parametri: (5)
  • (string) $translation Translated text.
    Richiesto:
  • (string) $single The text to be used if the number is singular.
    Richiesto:
  • (string) $plural The text to be used if the number is plural.
    Richiesto:
  • (string) $number The number to compare against to use either the singular or plural form.
    Richiesto:
  • (string) $domain Text domain. Unique identifier for retrieving translated strings.
    Richiesto:
Definito a:
Codex:

Filters the singular or plural form of a string.





Sorgenti

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