_n_noop

Definition:
function _n_noop( $singular, $plural ) {}

Register plural strings in POT file, but don’t translate them.
Used when you want to keep structures with translatable plural strings and use them later.

Parameters

  • string $singular: Single form to be i18ned
  • string $plural: Plural form to be i18ned

Return values

returns:array($singular, $plural)

Source code

function _n_noop( $singular, $plural ) {

	return array( 0 => $singular, 1 => $plural, 'singular' => $singular, 'plural' => $plural, 'context' => null );

}

4349

No comments yet... Be the first to leave a reply!

Leave a comment