WordPress函数 - _e()

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

Display translated text.


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

Changelog
Version Description
1.2.0 Introduced.

发表评论

© 2022 狸玖技术站 - 基于 WordPress