__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.
Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.
No Hooks.
Returns
null
. Nothing (null).
Usage
__ngettext( ...$args );
- ...$args (required)
- -
Notes
- See: _n()
Changelog
Since 1.2.0 | Introduced. |
Deprecated since 2.8.0 | Use _n() |
__ngettext() ngettext code WP 6.8.1
function __ngettext( ...$args ) { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.FunctionDoubleUnderscore _deprecated_function( __FUNCTION__, '2.8.0', '_n()' ); return _n( ...$args ); }