Filters the singular or plural form of a string with gettext context for a domain.
$translationstring$singlestring$pluralstring$numberint$contextstring$domainstringwp-includes/l10n.php:574_nx() * @param string $single The text to be used if the number is singular. * @param string $plural The text to be used if the number is plural. * @param int $number The number to compare against to use either the singular or plural form. * @param string $context Context information for the translators. * @param string $domain Text domain. Unique identifier for retrieving translated strings. */ $translation = apply_filters( "ngettext_with_context_{$domain}", $translation, $single, $plural, $number, $context, $domain ); return $translation;} /** * Registers plural strings in POT file, but does not translate them.Introduced in 5.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.