NOOP_Translations::translate_plural()publicWP 1.0

Method of the class: NOOP_Translations{}

No Hooks.

Return

null. Nothing (null).

Usage

$NOOP_Translations = new NOOP_Translations();
$NOOP_Translations->translate_plural( $singular, $plural, $count, $context );
$singular(string) (required)
-
$plural(string) (required)
-
$count(int) (required)
-
$context(string)
-
Default: null

NOOP_Translations::translate_plural() code WP 6.4.3

public function translate_plural( $singular, $plural, $count, $context = null ) {
	return 1 === (int) $count ? $singular : $plural;
}