W3cubDocs

/WordPress

__ngettext()

This function has been deprecated. Use _n() instead.

Retrieve the plural or single form based on the amount.

Description

See also

Source

File: wp-includes/deprecated.php

function __ngettext() {
	_deprecated_function( __FUNCTION__, '2.8.0', '_n()' );
	$args = func_get_args();
	return call_user_func_array('_n', $args);
}

Changelog

Version Description
2.8.0 Use _n()
1.2.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/__ngettext