Filter hook 'ngettext_with_context'

in WP Core File wp-includes/l10n.php at line 557

Description

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

Occurrences

Filename Line Number
wp-includes/l10n.php 557

Parameters

Type Name Description
string $translation Translated text.
string $single The text to be used if the number is singular.
string $plural The text to be used if the number is plural.
int $number The number to compare against to use either the singular or plural form.
string $context Context information for the translators.
string $domain Text domain. Unique identifier for retrieving translated strings.

PHP Doc

/**
	 * Filters the singular or plural form of a string with gettext context.
	 *
	 * @since 2.8.0
	 *
	 * @param string $translation Translated text.
	 * @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.
	 */