W3cubDocs

/WordPress

NOOP_Translations::translate_plural( string $singular, string $plural, int $count, string $context = null )

Parameters

$singular

(string) (Required)

$plural

(string) (Required)

$count

(int) (Required)

$context

(string) (Optional)

Default value: null

Source

File: wp-includes/pomo/translations.php

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

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/noop_translations/translate_plural