esc_html_e

Definition:
function esc_html_e( $text, $domain = 'default' ) {}

Displays translated text that has been escaped for safe use in HTML output.

Parameters

  • string $text: Text to translate
  • string $domain: Optional. Domain to retrieve the translated text

Source code

function esc_html_e( $text, $domain = 'default' ) {

	echo esc_html( translate( $text, $domain ) );

}

1030

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: