MO::select_plural_form() WordPress Method
The MO::select_plural_form() method is used to select the appropriate plural form for a given word based on the number of items. This is useful for translating words like "1 hour" or "2 hours" into different languages.
MO::select_plural_form( int $count ) #
Contents
Parameters
- $count
(int)(Required)
Return
(string)
Source
File: wp-includes/pomo/mo.php
public function select_plural_form( $count ) { return $this->gettext_select_plural_form( $count ); }
Expand full source codeCollapse full source codeView on TracView on GitHub