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

__ngettext_noop() WordPress Function

__ngettext_noop() is a WordPress function that allows you to register a string for translation without translating it. This is useful if you need to register a string for translation but do not want it to be translated immediately.

__ngettext_noop( $args ) #

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


Description

Top ↑

See also


Top ↑

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 );

}


Top ↑

Changelog

Changelog
VersionDescription
2.8.0Use _n_noop()
2.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More