Used By
Used By | Description |
---|---|
wp-includes/l10n.php: _nx() | Translates and retrieves the singular or plural form based on the supplied number, with gettext context. |
Filters the singular or plural form of a string with gettext context 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) Context information for the translators.
(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_with_context_domain