NOOP_Translations::translate_plural

Advertisement

Syntax Syntax

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

Parameters Parameters

$singular

(string) (Required)

$plural

(string) (Required)

$count

(int) (Required)

$context

(string) (Optional)

Default value: null

Source Source

File: wp-includes/pomo/translations.php

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

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.