Definition:
function _nc( $single, $plural, $number, $domain = 'default' ) {}
A version of _n(), which supports contexts.
Strips everything from the translation after the last bar.
Parameters
- $single
- $plural
- $number
- $domain
Source code
function _nc( $single, $plural, $number, $domain = 'default' ) { _deprecated_function( __FUNCTION__, '2.9', '_nx()' ); return before_last_bar( _n( $single, $plural, $number, $domain ) ); }
4343
No comments yet... Be the first to leave a reply!