Signature

translate_with_gettext_context( $text, $context, $domain = 'default' )
text
 
context
 
domain
 
Default: 'default'

Return

(void)

Source

function translate_with_gettext_context( $text, $context, $domain = 'default' ) {
	$translations = get_translations_for_domain( $domain );
	return apply_filters( 'gettext_with_context', $translations->translate( $text, $context ), $text, $context, $domain );
}
WP Trac GitHub Bitbucket

Link here