WordPress at Your Fingertips
filter is not described

ngettext filter-hook . WP 2.2.0

Filters the singular or plural form of a string.


add_filter( 'ngettext', 'filter_function_name_2980', 10, 5 );
function filter_function_name_2980( $translation, $single, $plural, $number, $domain ){
	// filter...

	return $translation;
Translated text.
The text to be used if the number is singular.
The text to be used if the number is plural.
The number to compare against to use either the singular or plural form.
Text domain. Unique identifier for retrieving translated strings.


Since 2.2.0 Introduced.

Where the hook is called

wp-includes/l10n.php 481
$translation = apply_filters( 'ngettext', $translation, $single, $plural, $number, $domain );

Where in WP core the hook is used WordPress

Usage not found.