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
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 ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.8.0 | Use _n_noop() |
2.5.0 | Introduced. |