WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about gettext_with_context_

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/l10n.php apply_filters 281 /**
* Filters text with its translation based on context information for a domain.
*
* The dynamic portion of the hook name, `$domain`, refers to the text domain.
*
* @since 5.5.0
*
* @param string $translation Translated text.
* @param string $text Text to translate.
* @param string $context Context information for the translators.
* @param string $domain Text domain. Unique identifier for retrieving translated strings.
*/

Hook Parameters

Parameter Type Name Description
string $translation Translated text.
string $text Text to translate.
string $context Context information for the translators.
string $domain Text domain. Unique identifier for retrieving translated strings.