__ngettext()
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.
Return
null
. Nothing.
Usage
__ngettext( ...$args ) // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.FunctionDoubleUnderscore;
- ...$args (required)
- -
Notes
- See: _n()
Changelog
Since 1.2.0 | Introduced. | |
Deprecated Since 2.8.0 | Use _n() |
Code of __ngettext() ngettext WP 6.0
function __ngettext( ...$args ) { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.FunctionDoubleUnderscore _deprecated_function( __FUNCTION__, '2.8.0', '_n()' ); return _n( ...$args ); }