wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



ngettext_with_context › WordPress Filter Hooks

Da2.8.0
Deprecaton/a
› apply_filters( 'ngettext_with_context', $translation, $single, $plural, $number, $context, $domain )
Parametri: (6)
  • () translation Translated text.
    Richiesto: Sì
  • () single The text to be used if the number is singular.
    Richiesto: Sì
  • () plural The text to be used if the number is plural.
    Richiesto: Sì
  • () number The number to compare against to use either the singular or plural form.
    Richiesto: Sì
  • () context Context information for the translators.
    Richiesto: Sì
  • () domain Text domain. Unique identifier for retrieving translated strings.
    Richiesto: Sì
Definito a:
Codex:

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





Sorgenti

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