W3cubDocs

/WordPress

__ngettext_noop( $args )

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

Register plural strings in POT file, but don’t translate them.

Description

See also

Source

File: wp-includes/deprecated.php

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

}

Changelog

Version Description
2.8.0 Use _n_noop()
2.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/__ngettext_noop