W3cubDocs

/WordPress

_e( string $text, string $domain = 'default' )

Display translated text.

Description

Parameters

$text

(string) (Required) Text to translate.

$domain

(string) (Optional) Text domain. Unique identifier for retrieving translated strings.

Default value: 'default'

Source

File: wp-includes/l10n.php

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

Changelog

Version Description
1.2.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/_e