Core Function
View Source on Trac ↗ translate_nooped_plural()
translate_nooped_plural( mixed $nooped_plural, mixed $count, mixed $domain = 'default' ) Translates and returns the singular or plural form of a string that's been registered
Parameters 3 required
| Name / Type | Description |
|---|---|
| array | $nooped_plural { Array that is usually a return value from _n_noop() or _nx_noop(). Required |
| $count int | Number of objects. Required |
| string | $domain Optional. Text domain. Unique identifier for retrieving translated strings. If $nooped_plural contains a text domain passed to _n_noop() or _nx_noop(), it will override this value. Default 'default'. Required |
Return Value
(string)
Either $singular or $plural translated text.
Function Information
Since Version
3.1.0
Source File
wp-includes/l10n.php
Advertisement