Translates a plural string.
Parameters
$singularstringrequired$pluralstringrequired$countintrequired$contextstringoptionalDefault:
null
Source
public function translate_plural( $singular, $plural, $count, $context = null ) {
return 1 === (int) $count ? $singular : $plural;
}
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.