Legacy version of _n() , which supports contexts.
Strips everything from the translation after the last bar.
$singlestringrequired
$pluralstringrequired
$numberintrequired
$domainstringoptional
'default'.Default:'default'
function _nc( $single, $plural, $number, $domain = 'default' ) {
_deprecated_function( __FUNCTION__, '2.9.0', '_nx()' );
return before_last_bar( _n( $single, $plural, $number, $domain ) );
}
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/_nc