WordPress开发者和主题制作者的搜索引擎



_e ›

Since1.2.0
已弃用n/a
_e ( $text, $domain = 'default' )
参数: (2)
  • (string) $text Text to translate.
    Required: Yes
  • (string) $domain Optional. Text domain. Unique identifier for retrieving translated strings. Default 'default'.
    Required: No
    默认: 'default'
定义在:
文档:

Display translated text.



Related Functions: _ex, _, wp_die, _x, __

源码

function _e( $text, $domain = 'default' ) {
	echo translate( $text, $domain );
}