Translations::get_plural_forms_count() WordPress Method
The Translations::get_plural_forms_count() method is used to get the number of plural forms for a given translation. This is useful when you need to know how many different forms of a word there are in a language. For example, in English there are two forms of the word "cat" (singular and plural), but in Spanish there are four forms (singular, plural, feminine, and masculine).
Translations::get_plural_forms_count() #
Return
(int)
Source
File: wp-includes/pomo/translations.php
public function get_plural_forms_count() { return 2; }
Expand full source codeCollapse full source codeView on TracView on GitHub