esc_html_e( string $text, string $domain = 'default' )  Displays translated text that has been escaped for safe use in HTML output.   Description If there is no translation, or the text domain isn’t loaded, the original text is escaped and displayed. If you need the value for use in PHP, use esc_html__() .   Parameters   $text string Required    Text to translate.    $domain string Optional     Text domain. Unique identifier for retrieving translated strings. Default 'default'.  Default: 'default'     Source  File: wp-includes/l10n.php. View all references  function esc_html_e( $text, $domain = 'default' ) {
	echo esc_html( translate( $text, $domain ) );
}
   Related  Uses    Uses Description      translate() wp-includes/l10n.php   Retrieves the translation of $text.     esc_html() wp-includes/formatting.php   Escaping for HTML blocks.   
   Used By    Used By Description      the_block_template_skip_link() wp-includes/theme-templates.php   Prints the skip-link script & styles.     WP_Privacy_Data_Removal_Requests_List_Tabl8b7c:f320:99b9:690f:4595:cd17:293a:c069column_next_steps() wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php   Next steps column.     WP_Privacy_Data_Export_Requests_List_Tabl8b7c:f320:99b9:690f:4595:cd17:293a:c069column_next_steps() wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php   Displays the next steps column.     WP_Widget_Custom_HTML8b7c:f320:99b9:690f:4595:cd17:293a:c069render_control_template_scripts() wp-includes/widgets/class-wp-widget-custom-html.php   Render form template scripts.     WP_Customize_Date_Time_Control8b7c:f320:99b9:690f:4595:cd17:293a:c069ontent_template() wp-includes/customize/class-wp-customize-date-time-control.php   Renders a JS template for the content of date time control.     WP_Widget_Text8b7c:f320:99b9:690f:4595:cd17:293a:c069render_control_template_scripts() wp-includes/widgets/class-wp-widget-text.php   Render form template scripts.     WP_Widget_Medi8b7c:f320:99b9:690f:4595:cd17:293a:c069render_control_template_scripts() wp-includes/widgets/class-wp-widget-media.php   Render form template scripts.     WP_Widget_Media_Imag8b7c:f320:99b9:690f:4595:cd17:293a:c069render_control_template_scripts() wp-includes/widgets/class-wp-widget-media-image.php   Render form template scripts.     print_embed_sharing_dialog() wp-includes/embed.php   Prints the necessary markup for the embed sharing dialog.     WP_Customize_Manager8b7c:f320:99b9:690f:4595:cd17:293a:c069render_control_templates() wp-includes/class-wp-customize-manager.php   Renders JS templates for all registered control types.     wp_print_revision_templates() wp-admin/includes/revision.php   Print JavaScript templates required for the revisions experience.     WP_Media_List_Tabl8b7c:f320:99b9:690f:4595:cd17:293a:c069views() wp-admin/includes/class-wp-media-list-table.php   Override parent views so we can use the filter bar display.     network_step1() wp-admin/includes/network.php   Prints step 1 for Network installation process.     network_step2() wp-admin/includes/network.php   Prints step 2 for Network installation process.     wp_image_editor() wp-admin/includes/image-edit.php   Loads the WP image-editing interface.     confirm_delete_users() wp-admin/includes/ms.php       wp_print_media_templates() wp-includes/media-template.php   Prints the templates used in the media manager.   
    Changelog    Version Description     2.8.0 Introduced.    

    
{'path': 'public/docs/wordpress/functions/esc_html_e.html', 'source': 'DevDocs.IO'}