wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



ngettext_with_context › Hooks de Filtros WordPress

Desde2.8.0
Obsoleton/a
› apply_filters( 'ngettext_with_context', $translation, $single, $plural, $number, $context, $domain )
Parâmetros: (6)
  • () translation Translated text.
    Required: Yes
  • () single The text to be used if the number is singular.
    Required: Yes
  • () plural The text to be used if the number is plural.
    Required: Yes
  • () number The number to compare against to use either the singular or plural form.
    Required: Yes
  • () context Context information for the translators.
    Required: Yes
  • () domain Text domain. Unique identifier for retrieving translated strings.
    Required: Yes
Definido em:
Codex:

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





Fonte

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