_ex( string $text, string $context, string $domain = 'default' )

Display translated string with gettext context.


Parameters

$text

(Required) Text to translate.

$context

(Required) Context information for the translators.

$domain

(Optional) Text domain. Unique identifier for retrieving translated strings. Default 'default'.

Default value: 'default'


Return

(string) Translated context string without pipe.


Source

File: wp-includes/l10n.php

function _ex( $text, $context, $domain = 'default' ) {
	echo _x( $text, $context, $domain );
}


Changelog

Changelog
Version Description
WP-3.0.0 Introduced.