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 comment