__ngettext( $args )

In this article

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

Retrieve the plural or single form based on the amount.

Description

See also

Source

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

Changelog

VersionDescription
2.8.0Use _n()
1.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.