W3cubDocs

/WordPress

Translations::get_plural_forms_count(): int

Returns the plural forms count.

Return

int Plural forms count.

Source

public function get_plural_forms_count() {
	return 2;
}

Changelog

Version Description
2.8.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/translations/get_plural_forms_count