WordPress at a glance
function is not described

__ngettext() WP 1.2.0

Deprecated from version 2.8.0. It is no longer supported and can be removed in future releases. Use _n() instead.

Retrieve the plural or single form based on the amount.

This is an internal function for using it by WP core itself. It's not recommended to use this function in your code.

No Hooks.


null. Null. Nothing.


__ngettext( ...$args ) // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.FunctionDoubleUnderscore;
...$args (required)


  • See: _n()


Since 1.2.0 Introduced.
Deprecated Since 2.8.0 Use _n()

Code of __ngettext() WP 5.7.1

function __ngettext( ...$args ) { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.FunctionDoubleUnderscore
	_deprecated_function( __FUNCTION__, '2.8.0', '_n()' );
	return _n( ...$args );