Used By
Used By | Description |
---|---|
wp-includes/l10n.php: _n() | Translates and retrieves the singular or plural form based on the supplied number. |
Filters the singular or plural form of a string for a domain.
The dynamic portion of the hook, $domain
, refers to the text domain.
(string) Translated text.
(string) The text to be used if the number is singular.
(string) The text to be used if the number is plural.
(string) The number to compare against to use either the singular or plural form.
(string) Text domain. Unique identifier for retrieving translated strings.
File: wp-includes/l10n.php
Version | Description |
---|---|
5.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/ngettext_domain