Summery Summery

Filters the singular or plural form of a string with gettext context.

Syntax Syntax

apply_filters( 'ngettext_with_context', string $translation, string $single, string $plural, string $number, string $context, string $domain )

Parameters Parameters


(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.

Source Source

File: wp-includes/l10n.php


Changelog Changelog

Version Description
2.8.0 Introduced.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.