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



ngettext_with_context_{$domain} › WordPress Filter Hooks

Da5.5.0
Deprecaton/a
apply_filters( "ngettext_with_context_{$domain}", $translation, $single, $plural, $number, $context, $domain )
Parametri: (6)
  • (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:
  • (int) $number The number to compare against to use either the singular or plural form.
    Richiesto:
  • (string) $context Context information for the translators.
    Richiesto:
  • (string) $domain Text domain. Unique identifier for retrieving translated strings.
    Richiesto:
Definito a:
Codex:

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

The dynamic portion of the hook name, $domain, refers to the text domain.





Sorgenti

$translation = apply_filters( "ngettext_with_context_{$domain}", $translation, $single, $plural, $number, $context, $domain );