Returns the plural form to use.
Parameters
$count
intrequired
Source
public function select_plural_form( $count ) {
return 1 === (int) $count ? 0 : 1;
}
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
Returns the plural form to use.
$count
intrequiredpublic function select_plural_form( $count ) {
return 1 === (int) $count ? 0 : 1;
}
Version | Description |
---|---|
2.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.