On this page
__ngettext( $args )
This function has been deprecated. Use _n() instead.
Retrieve the plural or single form based on the amount.
Description
See also
Source
File: wp-includes/deprecated.php. View all references
function __ngettext( ...$args ) { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.FunctionDoubleUnderscore
_deprecated_function( __FUNCTION__, '2.8.0', '_n()' );
return _n( ...$args );
}
Related
Uses
| Uses | Description |
|---|---|
| _n() wp-includes/l10n.php | Translates and retrieves the singular or plural form based on the supplied number. |
| _deprecated_function() wp-includes/functions.php | Marks a function as deprecated and inform when it has been used. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/__ngettext