A WordPress-centric search engine for devs and theme authors



_ex ›

Since3.0.0
Deprecatedn/a
_ex ( $text, $context, $domain = 'default' )
Parameters: (3)
  • (string) $text Text to translate.
    Required: Yes
  • (string) $context Context information for the translators.
    Required: Yes
  • (string) $domain Optional. Text domain. Unique identifier for retrieving translated strings. Default 'default'.
    Required: No
    Default: 'default'
Returns:
  • (string) Translated context string without pipe.
Defined at:
Codex:

Display translated string with gettext context.



Related Functions: _x, _e, _nx, _

Source

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