__ngettext()
Deprecated since 2.8.0. It is no longer supported and may 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 7.0
function __ngettext( ...$args ) {
_deprecated_function( __FUNCTION__, '2.8.0', '_n()' );
return _n( ...$args );
}