Home / APIs / _ex() – Display translated string with gettext context.

You appear to be a bot. Output may be restricted

Description

Display translated string with gettext context.

Usage

$string = _ex( $text, $context, $domain );

Parameters

$text
( string ) required – Text to translate.
$context
( string ) required – Context information for the translators.
$domain
( string ) optional default: default – Optional. Text domain. Unique identifier for retrieving translated strings. Default 'default'.

Returns

string Translated context string without pipe.

Source

File name: wordpress/wp-includes/l10n.php
Lines: 1 to 3 of 3

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

 View on GitHub View on Trac

Published: 29th June 2017 | Last updated: 4th August 2017

Information

Function name: _ex
Plugin ref: WordPress
Version: 5.0.3
Sourcefile: wp-includes/l10n.php
File ref: wp-includes/l10n.php
API type: private
Deprecated?: No
API Letters: _,E

  • Plugins
  • Themes
  • Shortcodes
  • APIs
  • Files
  • Hooks
  • Classes
  • Sites
  • Sitemap
  • Blog
WooCommerce a2z WooCommerce a2z
WooCommerce

Site:  woocommerce.wp-a2z.org
© Copyright WooCommerce a2z 2014-2019. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins