Title: _e
Published: April 25, 2014
Last modified: August 20, 2026

---

# _e( string $text, string $domain = ‘default’ )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/functions/_e/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/functions/_e/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/functions/_e/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/_e/?output_format=md#changelog)
 * [User Contributed Notes](https://developer.wordpress.org/reference/functions/_e/?output_format=md#user-contributed-notes)

[ Back to top](https://developer.wordpress.org/reference/functions/_e/?output_format=md#wp--skip-link--target)

Displays translated text.

## 󠀁[Parameters](https://developer.wordpress.org/reference/functions/_e/?output_format=md#parameters)󠁿

 `$text`stringrequired

Text to translate.

`$domain`stringoptional

Text domain. Unique identifier for retrieving translated strings.
 Default `'default'`.

Default:`'default'`

## 󠀁[Source](https://developer.wordpress.org/reference/functions/_e/?output_format=md#source)󠁿

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

[View all references](https://developer.wordpress.org/reference/files/wp-includes/l10n.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-includes/l10n.php#L352)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/l10n.php#L352-L354)

## 󠀁[Related](https://developer.wordpress.org/reference/functions/_e/?output_format=md#related)󠁿

| Uses | Description | 
| [translate()](https://developer.wordpress.org/reference/functions/translate/)`wp-includes/l10n.php` |

Retrieves the translation of $text.

  |

| Used by | Description | 
| [WP_Widget_Block::form()](https://developer.wordpress.org/reference/classes/wp_widget_block/form/)`wp-includes/widgets/class-wp-widget-block.php` |

Outputs the Block widget settings form.

  | 
| [WP_Application_Passwords_List_Table::display_tablenav()](https://developer.wordpress.org/reference/classes/wp_application_passwords_list_table/display_tablenav/)`wp-admin/includes/class-wp-application-passwords-list-table.php` |

Generates custom table navigation to prevent conflicting nonces.

  | 
| [core_auto_updates_settings()](https://developer.wordpress.org/reference/functions/core_auto_updates_settings/)`wp-admin/update-core.php` |

Display WordPress auto-updates settings.

  | 
| [wp_dashboard_site_health()](https://developer.wordpress.org/reference/functions/wp_dashboard_site_health/)`wp-admin/includes/dashboard.php` |

Displays the Site Health Status widget.

  | 
| [WP_Privacy_Data_Removal_Requests_List_Table::column_next_steps()](https://developer.wordpress.org/reference/classes/wp_privacy_data_removal_requests_list_table/column_next_steps/)`wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php` |

Outputs the Next steps column.

  | 
| [WP_Privacy_Data_Export_Requests_List_Table::column_next_steps()](https://developer.wordpress.org/reference/classes/wp_privacy_data_export_requests_list_table/column_next_steps/)`wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php` |

Displays the next steps column.

  | 
| [WP_Posts_List_Table::formats_dropdown()](https://developer.wordpress.org/reference/classes/wp_posts_list_table/formats_dropdown/)`wp-admin/includes/class-wp-posts-list-table.php` |

Displays a formats drop-down for filtering items.

  | 
| [wp_dashboard_php_nag()](https://developer.wordpress.org/reference/functions/wp_dashboard_php_nag/)`wp-admin/includes/dashboard.php` |

Displays the PHP update nag.

  | 
| [do_block_editor_incompatible_meta_box()](https://developer.wordpress.org/reference/functions/do_block_editor_incompatible_meta_box/)`wp-admin/includes/template.php` |

Renders a “fake” meta box with an information message, shown on the block editor, when an incompatible meta box is found.

  | 
| [WP_Privacy_Policy_Content::privacy_policy_guide()](https://developer.wordpress.org/reference/classes/wp_privacy_policy_content/privacy_policy_guide/)`wp-admin/includes/class-wp-privacy-policy-content.php` |

Outputs the privacy policy guide together with content from the theme and plugins.

  | 
| [WP_Widget_Custom_HTML::render_control_template_scripts()](https://developer.wordpress.org/reference/classes/wp_widget_custom_html/render_control_template_scripts/)`wp-includes/widgets/class-wp-widget-custom-html.php` |

Render form template scripts.

  | 
| [WP_Customize_Themes_Panel::content_template()](https://developer.wordpress.org/reference/classes/wp_customize_themes_panel/content_template/)`wp-includes/customize/class-wp-customize-themes-panel.php` |

An Underscore (JS) template for this panel’s content (but not its container).

  | 
| [WP_Customize_Themes_Section::render_template()](https://developer.wordpress.org/reference/classes/wp_customize_themes_section/render_template/)`wp-includes/customize/class-wp-customize-themes-section.php` |

Renders a themes section as a JS template.

  | 
| [WP_Customize_Themes_Section::filter_bar_content_template()](https://developer.wordpress.org/reference/classes/wp_customize_themes_section/filter_bar_content_template/)`wp-includes/customize/class-wp-customize-themes-section.php` |

Renders the filter bar portion of a themes section as a JS template.

  | 
| [wp_print_plugin_file_tree()](https://developer.wordpress.org/reference/functions/wp_print_plugin_file_tree/)`wp-admin/includes/misc.php` |

Outputs the formatted file list for the plugin file editor.

  | 
| [wp_print_theme_file_tree()](https://developer.wordpress.org/reference/functions/wp_print_theme_file_tree/)`wp-admin/includes/misc.php` |

Outputs the formatted file list for the theme file editor.

  | 
| [wp_print_file_editor_templates()](https://developer.wordpress.org/reference/functions/wp_print_file_editor_templates/)`wp-admin/includes/file.php` |

Prints file editor templates (for plugins and themes).

  | 
| [WP_Widget_Text::render_control_template_scripts()](https://developer.wordpress.org/reference/classes/wp_widget_text/render_control_template_scripts/)`wp-includes/widgets/class-wp-widget-text.php` |

Renders form template scripts.

  | 
| [wp_print_community_events_markup()](https://developer.wordpress.org/reference/functions/wp_print_community_events_markup/)`wp-admin/includes/dashboard.php` |

Prints the markup for the Community Events section of the Events and News Dashboard widget.

  | 
| [WP_Customize_Nav_Menus::print_post_type_container()](https://developer.wordpress.org/reference/classes/wp_customize_nav_menus/print_post_type_container/)`wp-includes/class-wp-customize-nav-menus.php` |

Prints the markup for new menu items.

  | 
| [WP_Customize_Nav_Menus::print_custom_links_available_menu_item()](https://developer.wordpress.org/reference/classes/wp_customize_nav_menus/print_custom_links_available_menu_item/)`wp-includes/class-wp-customize-nav-menus.php` |

Prints the markup for available menu item custom links.

  | 
| [WP_Customize_Background_Position_Control::content_template()](https://developer.wordpress.org/reference/classes/wp_customize_background_position_control/content_template/)`wp-includes/customize/class-wp-customize-background-position-control.php` |

Render a JS template for the content of the position control.

  | 
| [wp_print_admin_notice_templates()](https://developer.wordpress.org/reference/functions/wp_print_admin_notice_templates/)`wp-admin/includes/update.php` |

Prints the JavaScript templates for update admin notices.

  | 
| [print_embed_sharing_dialog()](https://developer.wordpress.org/reference/functions/print_embed_sharing_dialog/)`wp-includes/embed.php` |

Prints the necessary markup for the embed sharing dialog.

  | 
| [WP_Screen::render_meta_boxes_preferences()](https://developer.wordpress.org/reference/classes/wp_screen/render_meta_boxes_preferences/)`wp-admin/includes/class-wp-screen.php` |

Renders the meta boxes preferences.

  | 
| [WP_Screen::render_view_mode()](https://developer.wordpress.org/reference/classes/wp_screen/render_view_mode/)`wp-admin/includes/class-wp-screen.php` |

Renders the list table view mode preferences.

  | 
| [WP_Customize_Nav_Menu_Auto_Add_Control::content_template()](https://developer.wordpress.org/reference/classes/wp_customize_nav_menu_auto_add_control/content_template/)`wp-includes/customize/class-wp-customize-nav-menu-auto-add-control.php` |

Render the Underscore template for this control.

  | 
| [WP_Customize_New_Menu_Control::render_content()](https://developer.wordpress.org/reference/classes/wp_customize_new_menu_control/render_content/)`wp-includes/customize/class-wp-customize-new-menu-control.php` |

Render the control’s content.

  | 
| [WP_Customize_Nav_Menu_Location_Control::render_content()](https://developer.wordpress.org/reference/classes/wp_customize_nav_menu_location_control/render_content/)`wp-includes/customize/class-wp-customize-nav-menu-location-control.php` |

Render content just like a normal select control.

  | 
| [WP_Customize_Nav_Menu_Control::content_template()](https://developer.wordpress.org/reference/classes/wp_customize_nav_menu_control/content_template/)`wp-includes/customize/class-wp-customize-nav-menu-control.php` |

JS/Underscore template for the control UI.

  | 
| [WP_Customize_Nav_Menu_Item_Control::content_template()](https://developer.wordpress.org/reference/classes/wp_customize_nav_menu_item_control/content_template/)`wp-includes/customize/class-wp-customize-nav-menu-item-control.php` |

JS/Underscore template for the control UI.

  | 
| [WP_Customize_Panel::content_template()](https://developer.wordpress.org/reference/classes/wp_customize_panel/content_template/)`wp-includes/class-wp-customize-panel.php` |

An Underscore (JS) template for this panel’s content (but not its container).

  | 
| [WP_Customize_Nav_Menus_Panel::content_template()](https://developer.wordpress.org/reference/classes/wp_customize_nav_menus_panel/content_template/)`wp-includes/customize/class-wp-customize-nav-menus-panel.php` |

An Underscore (JS) template for this panel’s content (but not its container).

  | 
| [WP_Customize_Nav_Menus::print_templates()](https://developer.wordpress.org/reference/classes/wp_customize_nav_menus/print_templates/)`wp-includes/class-wp-customize-nav-menus.php` |

Prints the JavaScript templates used to render Menu Customizer components.

  | 
| [WP_Customize_Nav_Menus::available_items_template()](https://developer.wordpress.org/reference/classes/wp_customize_nav_menus/available_items_template/)`wp-includes/class-wp-customize-nav-menus.php` |

Prints the HTML template used to render the add-menu-item frame.

  | 
| [WP_Customize_Section::render_template()](https://developer.wordpress.org/reference/classes/wp_customize_section/render_template/)`wp-includes/class-wp-customize-section.php` |

An Underscore (JS) template for rendering this section.

  | 
| [WP_Links_List_Table::column_visible()](https://developer.wordpress.org/reference/classes/wp_links_list_table/column_visible/)`wp-admin/includes/class-wp-links-list-table.php` |

Handles the link visibility column output.

  | 
| [WP_MS_Sites_List_Table::column_lastupdated()](https://developer.wordpress.org/reference/classes/wp_ms_sites_list_table/column_lastupdated/)`wp-admin/includes/class-wp-ms-sites-list-table.php` |

Handles the lastupdated column output.

  | 
| [WP_Media_List_Table::column_parent()](https://developer.wordpress.org/reference/classes/wp_media_list_table/column_parent/)`wp-admin/includes/class-wp-media-list-table.php` |

Handles the parent column output.

  | 
| [WP_Media_List_Table::column_title()](https://developer.wordpress.org/reference/classes/wp_media_list_table/column_title/)`wp-admin/includes/class-wp-media-list-table.php` |

Handles the title column output.

  | 
| [WP_Customize_Theme_Control::content_template()](https://developer.wordpress.org/reference/classes/wp_customize_theme_control/content_template/)`wp-includes/customize/class-wp-customize-theme-control.php` |

Render a JS template for theme display.

  | 
| [customize_themes_print_templates()](https://developer.wordpress.org/reference/functions/customize_themes_print_templates/)`wp-admin/includes/theme.php` |

Prints JS templates for the theme-browsing UI in the Customizer.

  | 
| [WP_Customize_Manager::render_control_templates()](https://developer.wordpress.org/reference/classes/wp_customize_manager/render_control_templates/)`wp-includes/class-wp-customize-manager.php` |

Renders JS templates for all registered control types.

  | 
| [wp_print_revision_templates()](https://developer.wordpress.org/reference/functions/wp_print_revision_templates/)`wp-admin/includes/revision.php` |

Print JavaScript templates required for the revisions experience.

  | 
| [WP_Media_List_Table::views()](https://developer.wordpress.org/reference/classes/wp_media_list_table/views/)`wp-admin/includes/class-wp-media-list-table.php` |

Overrides parent views to use the filter bar display.

  | 
| [login_footer()](https://developer.wordpress.org/reference/functions/login_footer/)`wp-login.php` |

Outputs the footer for the login page.

  | 
| [show_user_form()](https://developer.wordpress.org/reference/functions/show_user_form/)`wp-signup.php` |

Displays the fields for the new user account registration form.

  | 
| [signup_another_blog()](https://developer.wordpress.org/reference/functions/signup_another_blog/)`wp-signup.php` |

Shows a form for returning users to sign up for another site.

  | 
| [signup_user()](https://developer.wordpress.org/reference/functions/signup_user/)`wp-signup.php` |

Shows a form for a visitor to sign up for a new user account.

  | 
| [confirm_user_signup()](https://developer.wordpress.org/reference/functions/confirm_user_signup/)`wp-signup.php` |

Shows a message confirming that the new user has been registered and is awaiting activation.

  | 
| [confirm_blog_signup()](https://developer.wordpress.org/reference/functions/confirm_blog_signup/)`wp-signup.php` |

Shows a message confirming that the new site has been registered and is awaiting activation.

  | 
| [show_blog_form()](https://developer.wordpress.org/reference/functions/show_blog_form/)`wp-signup.php` |

Generates and displays the Sign-up and Create Site forms.

  | 
| [network_step1()](https://developer.wordpress.org/reference/functions/network_step1/)`wp-admin/includes/network.php` |

Prints step 1 for Network installation process.

  | 
| [network_step2()](https://developer.wordpress.org/reference/functions/network_step2/)`wp-admin/includes/network.php` |

Prints step 2 for Network installation process.

  | 
| [display_header()](https://developer.wordpress.org/reference/functions/display_header/)`wp-admin/install.php` |

Display installation header.

  | 
| [display_setup_form()](https://developer.wordpress.org/reference/functions/display_setup_form/)`wp-admin/install.php` |

Displays installer setup form.

  | 
| [use_ssl_preference()](https://developer.wordpress.org/reference/functions/use_ssl_preference/)`wp-admin/includes/user.php` |

Optional SSL preference that can be turned on by hooking to the ‘personal_options’ action.

  | 
| [WP_MS_Users_List_Table::no_items()](https://developer.wordpress.org/reference/classes/wp_ms_users_list_table/no_items/)`wp-admin/includes/class-wp-ms-users-list-table.php` |  | 
| [WP_Screen::render_screen_layout()](https://developer.wordpress.org/reference/classes/wp_screen/render_screen_layout/)`wp-admin/includes/class-wp-screen.php` |

Renders the option for number of columns on the page.

  | 
| [WP_Screen::render_per_page_options()](https://developer.wordpress.org/reference/classes/wp_screen/render_per_page_options/)`wp-admin/includes/class-wp-screen.php` |

Renders the items per page option.

  | 
| [WP_Screen::render_screen_meta()](https://developer.wordpress.org/reference/classes/wp_screen/render_screen_meta/)`wp-admin/includes/class-wp-screen.php` |

Renders the screen’s help section.

  | 
| [WP_Plugins_List_Table::no_items()](https://developer.wordpress.org/reference/classes/wp_plugins_list_table/no_items/)`wp-admin/includes/class-wp-plugins-list-table.php` |

Message to be displayed when there are no items.

  | 
| [WP_Links_List_Table::no_items()](https://developer.wordpress.org/reference/classes/wp_links_list_table/no_items/)`wp-admin/includes/class-wp-links-list-table.php` |

Displays the message for no items.

  | 
| [install_theme_search_form()](https://developer.wordpress.org/reference/functions/install_theme_search_form/)`wp-admin/includes/theme-install.php` |

Displays search form for searching themes.

  | 
| [install_themes_dashboard()](https://developer.wordpress.org/reference/functions/install_themes_dashboard/)`wp-admin/includes/theme-install.php` |

Displays tags filter for themes.

  | 
| [install_themes_upload()](https://developer.wordpress.org/reference/functions/install_themes_upload/)`wp-admin/includes/theme-install.php` |

Displays a form to upload themes from zip files.

  | 
| [WP_List_Table::no_items()](https://developer.wordpress.org/reference/classes/wp_list_table/no_items/)`wp-admin/includes/class-wp-list-table.php` |

Message to be displayed when there are no items.

  | 
| [WP_List_Table::months_dropdown()](https://developer.wordpress.org/reference/classes/wp_list_table/months_dropdown/)`wp-admin/includes/class-wp-list-table.php` |

Displays a dropdown for filtering items in the list table by month.

  | 
| [choose_primary_blog()](https://developer.wordpress.org/reference/functions/choose_primary_blog/)`wp-admin/includes/ms.php` |

Handles the display of choosing a user’s primary site.

  | 
| [upload_space_setting()](https://developer.wordpress.org/reference/functions/upload_space_setting/)`wp-admin/includes/ms.php` |

Displays the site upload space quota setting form on the Edit Site Settings screen.

  | 
| [wp_image_editor()](https://developer.wordpress.org/reference/functions/wp_image_editor/)`wp-admin/includes/image-edit.php` |

Loads the WP image-editing interface.

  | 
| [WP_MS_Themes_List_Table::no_items()](https://developer.wordpress.org/reference/classes/wp_ms_themes_list_table/no_items/)`wp-admin/includes/class-wp-ms-themes-list-table.php` |

Displays the message when there are no items to list.

  | 
| [admin_color_scheme_picker()](https://developer.wordpress.org/reference/functions/admin_color_scheme_picker/)`wp-admin/includes/misc.php` |

Displays the default administration color scheme picker (Used in user-edit.php).

  | 
| [WP_Theme_Install_List_Table::install_theme_info()](https://developer.wordpress.org/reference/classes/wp_theme_install_list_table/install_theme_info/)`wp-admin/includes/class-wp-theme-install-list-table.php` |

Prints the info for a theme (to be used in the theme installer modal).

  | 
| [WP_Theme_Install_List_Table::no_items()](https://developer.wordpress.org/reference/classes/wp_theme_install_list_table/no_items/)`wp-admin/includes/class-wp-theme-install-list-table.php` |  | 
| [WP_Theme_Install_List_Table::single_row()](https://developer.wordpress.org/reference/classes/wp_theme_install_list_table/single_row/)`wp-admin/includes/class-wp-theme-install-list-table.php` |

Prints a theme from the WordPress.org API.

  | 
| [WP_Theme_Install_List_Table::theme_installer()](https://developer.wordpress.org/reference/classes/wp_theme_install_list_table/theme_installer/)`wp-admin/includes/class-wp-theme-install-list-table.php` |

Prints the wrapper for the theme installer.

  | 
| [wp_welcome_panel()](https://developer.wordpress.org/reference/functions/wp_welcome_panel/)`wp-admin/includes/dashboard.php` |

Displays a welcome panel to introduce users to WordPress.

  | 
| [install_dashboard()](https://developer.wordpress.org/reference/functions/install_dashboard/)`wp-admin/includes/plugin-install.php` |

Displays the Featured tab of Add Plugins screen.

  | 
| [install_search_form()](https://developer.wordpress.org/reference/functions/install_search_form/)`wp-admin/includes/plugin-install.php` |

Displays a search form for searching plugins.

  | 
| [install_plugins_upload()](https://developer.wordpress.org/reference/functions/install_plugins_upload/)`wp-admin/includes/plugin-install.php` |

Displays a form to upload plugins from zip files.

  | 
| [install_plugins_favorites_form()](https://developer.wordpress.org/reference/functions/install_plugins_favorites_form/)`wp-admin/includes/plugin-install.php` |

Shows a username form for the favorites page.

  | 
| [install_plugin_information()](https://developer.wordpress.org/reference/functions/install_plugin_information/)`wp-admin/includes/plugin-install.php` |

Displays plugin information in dialog box form.

  | 
| [wp_dashboard_quota()](https://developer.wordpress.org/reference/functions/wp_dashboard_quota/)`wp-admin/includes/dashboard.php` |

Displays file upload quota on dashboard.

  | 
| [wp_network_dashboard_right_now()](https://developer.wordpress.org/reference/functions/wp_network_dashboard_right_now/)`wp-admin/includes/dashboard.php` |  | 
| [wp_dashboard_quick_press()](https://developer.wordpress.org/reference/functions/wp_dashboard_quick_press/)`wp-admin/includes/dashboard.php` |

Displays the Quick Draft widget.

  | 
| [WP_Plugin_Install_List_Table::display_rows()](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/display_rows/)`wp-admin/includes/class-wp-plugin-install-list-table.php` |

Generates the list table rows.

  | 
| [WP_Plugin_Install_List_Table::no_items()](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/no_items/)`wp-admin/includes/class-wp-plugin-install-list-table.php` |  | 
| [find_posts_div()](https://developer.wordpress.org/reference/functions/find_posts_div/)`wp-admin/includes/template.php` |

Outputs the modal window used for attaching media to posts or pages in the media-listing screen.

  | 
| [iframe_header()](https://developer.wordpress.org/reference/functions/iframe_header/)`wp-admin/includes/template.php` |

Generic Iframe header for use with Thickbox.

  | 
| [wp_comment_reply()](https://developer.wordpress.org/reference/functions/wp_comment_reply/)`wp-admin/includes/template.php` |

Outputs the in-line comment reply-to form in the Comments list table.

  | 
| [wp_comment_trashnotice()](https://developer.wordpress.org/reference/functions/wp_comment_trashnotice/)`wp-admin/includes/template.php` |

Outputs ‘undo move to Trash’ text for comments.

  | 
| [list_meta()](https://developer.wordpress.org/reference/functions/list_meta/)`wp-admin/includes/template.php` |

Outputs a post’s public meta data in the Custom Fields meta box.

  | 
| [meta_form()](https://developer.wordpress.org/reference/functions/meta_form/)`wp-admin/includes/template.php` |

Prints the form in the Custom Fields meta box.

  | 
| [touch_time()](https://developer.wordpress.org/reference/functions/touch_time/)`wp-admin/includes/template.php` |

Prints out HTML form date elements for editing post or comment publish date.

  | 
| [WP_Themes_List_Table::no_items()](https://developer.wordpress.org/reference/classes/wp_themes_list_table/no_items/)`wp-admin/includes/class-wp-themes-list-table.php` |  | 
| [WP_Themes_List_Table::display_rows()](https://developer.wordpress.org/reference/classes/wp_themes_list_table/display_rows/)`wp-admin/includes/class-wp-themes-list-table.php` |

Generates the list table rows.

  | 
| [WP_MS_Sites_List_Table::no_items()](https://developer.wordpress.org/reference/classes/wp_ms_sites_list_table/no_items/)`wp-admin/includes/class-wp-ms-sites-list-table.php` |

Displays a message when no sites are found.

  | 
| [WP_Users_List_Table::no_items()](https://developer.wordpress.org/reference/classes/wp_users_list_table/no_items/)`wp-admin/includes/class-wp-users-list-table.php` |

Outputs ‘no users’ message.

  | 
| [WP_Users_List_Table::extra_tablenav()](https://developer.wordpress.org/reference/classes/wp_users_list_table/extra_tablenav/)`wp-admin/includes/class-wp-users-list-table.php` |

Outputs the controls to allow user roles to be changed in bulk.

  | 
| [media_upload_type_form()](https://developer.wordpress.org/reference/functions/media_upload_type_form/)`wp-admin/includes/media.php` |

Outputs the legacy media upload form for a given media type.

  | 
| [media_upload_type_url_form()](https://developer.wordpress.org/reference/functions/media_upload_type_url_form/)`wp-admin/includes/media.php` |

Outputs the legacy media upload form for external media.

  | 
| [media_upload_gallery_form()](https://developer.wordpress.org/reference/functions/media_upload_gallery_form/)`wp-admin/includes/media.php` |

Adds gallery form to upload iframe.

  | 
| [media_upload_library_form()](https://developer.wordpress.org/reference/functions/media_upload_library_form/)`wp-admin/includes/media.php` |

Outputs the legacy media upload form for the media library.

  | 
| [edit_form_image_editor()](https://developer.wordpress.org/reference/functions/edit_form_image_editor/)`wp-admin/includes/media.php` |

Displays the image and editor in the post editor

  | 
| [attachment_submitbox_metadata()](https://developer.wordpress.org/reference/functions/attachment_submitbox_metadata/)`wp-admin/includes/media.php` |

Displays non-editable attachment metadata in the publish meta box.

  | 
| [media_upload_form()](https://developer.wordpress.org/reference/functions/media_upload_form/)`wp-admin/includes/media.php` |

Outputs the legacy media upload form.

  | 
| [wp_iframe()](https://developer.wordpress.org/reference/functions/wp_iframe/)`wp-admin/includes/media.php` |

Outputs the iframe to display the media upload page.

  | 
| [_admin_notice_post_locked()](https://developer.wordpress.org/reference/functions/_admin_notice_post_locked/)`wp-admin/includes/post.php` |

Outputs the HTML for the notice to say that someone else is editing or has taken over editing of this post.

  | 
| [post_trackback_meta_box()](https://developer.wordpress.org/reference/functions/post_trackback_meta_box/)`wp-admin/includes/meta-boxes.php` |

Displays trackback links form fields.

  | 
| [post_comment_status_meta_box()](https://developer.wordpress.org/reference/functions/post_comment_status_meta_box/)`wp-admin/includes/meta-boxes.php` |

Displays comments status form fields.

  | 
| [post_comment_meta_box()](https://developer.wordpress.org/reference/functions/post_comment_meta_box/)`wp-admin/includes/meta-boxes.php` |

Displays comments for post.

  | 
| [post_slug_meta_box()](https://developer.wordpress.org/reference/functions/post_slug_meta_box/)`wp-admin/includes/meta-boxes.php` |

Displays slug form fields.

  | 
| [post_author_meta_box()](https://developer.wordpress.org/reference/functions/post_author_meta_box/)`wp-admin/includes/meta-boxes.php` |

Displays form field with list of authors.

  | 
| [page_attributes_meta_box()](https://developer.wordpress.org/reference/functions/page_attributes_meta_box/)`wp-admin/includes/meta-boxes.php` |

Displays page attributes form fields.

  | 
| [link_submit_meta_box()](https://developer.wordpress.org/reference/functions/link_submit_meta_box/)`wp-admin/includes/meta-boxes.php` |

Displays link create form fields.

  | 
| [link_categories_meta_box()](https://developer.wordpress.org/reference/functions/link_categories_meta_box/)`wp-admin/includes/meta-boxes.php` |

Displays link categories form fields.

  | 
| [link_target_meta_box()](https://developer.wordpress.org/reference/functions/link_target_meta_box/)`wp-admin/includes/meta-boxes.php` |

Displays form fields for changing link target.

  | 
| [link_xfn_meta_box()](https://developer.wordpress.org/reference/functions/link_xfn_meta_box/)`wp-admin/includes/meta-boxes.php` |

Displays XFN form fields.

  | 
| [link_advanced_meta_box()](https://developer.wordpress.org/reference/functions/link_advanced_meta_box/)`wp-admin/includes/meta-boxes.php` |

Displays advanced link options form fields.

  | 
| [post_submit_meta_box()](https://developer.wordpress.org/reference/functions/post_submit_meta_box/)`wp-admin/includes/meta-boxes.php` |

Displays post submit form fields.

  | 
| [post_format_meta_box()](https://developer.wordpress.org/reference/functions/post_format_meta_box/)`wp-admin/includes/meta-boxes.php` |

Displays post format form elements.

  | 
| [post_excerpt_meta_box()](https://developer.wordpress.org/reference/functions/post_excerpt_meta_box/)`wp-admin/includes/meta-boxes.php` |

Displays post excerpt form fields.

  | 
| [WP_Media_List_Table::no_items()](https://developer.wordpress.org/reference/classes/wp_media_list_table/no_items/)`wp-admin/includes/class-wp-media-list-table.php` |

Displays a message when no media items are found.

  | 
| [WP_Comments_List_Table::no_items()](https://developer.wordpress.org/reference/classes/wp_comments_list_table/no_items/)`wp-admin/includes/class-wp-comments-list-table.php` |

Displays a message when no comments are found.

  | 
| [WP_Comments_List_Table::column_cb()](https://developer.wordpress.org/reference/classes/wp_comments_list_table/column_cb/)`wp-admin/includes/class-wp-comments-list-table.php` |

Outputs the checkbox column.

  | 
| [WP_Terms_List_Table::inline_edit()](https://developer.wordpress.org/reference/classes/wp_terms_list_table/inline_edit/)`wp-admin/includes/class-wp-terms-list-table.php` |

Outputs the hidden row displayed when inline editing

  | 
| [Walker_Nav_Menu_Edit::start_el()](https://developer.wordpress.org/reference/classes/walker_nav_menu_edit/start_el/)`wp-admin/includes/class-walker-nav-menu-edit.php` |

Start the element output.

  | 
| [wp_nav_menu_item_link_meta_box()](https://developer.wordpress.org/reference/functions/wp_nav_menu_item_link_meta_box/)`wp-admin/includes/nav-menu.php` |

Displays a meta box for the custom links menu item.

  | 
| [wp_nav_menu_item_post_type_meta_box()](https://developer.wordpress.org/reference/functions/wp_nav_menu_item_post_type_meta_box/)`wp-admin/includes/nav-menu.php` |

Displays a meta box for a post type menu item.

  | 
| [wp_nav_menu_item_taxonomy_meta_box()](https://developer.wordpress.org/reference/functions/wp_nav_menu_item_taxonomy_meta_box/)`wp-admin/includes/nav-menu.php` |

Displays a meta box for a taxonomy menu item.

  | 
| [request_filesystem_credentials()](https://developer.wordpress.org/reference/functions/request_filesystem_credentials/)`wp-admin/includes/file.php` |

Displays a form to the user to request for their FTP/SSH details in order to connect to the filesystem.

  | 
| [WP_Posts_List_Table::inline_edit()](https://developer.wordpress.org/reference/classes/wp_posts_list_table/inline_edit/)`wp-admin/includes/class-wp-posts-list-table.php` |

Outputs the hidden row displayed when inline editing

  | 
| [wp_widget_control()](https://developer.wordpress.org/reference/functions/wp_widget_control/)`wp-admin/includes/widgets.php` |

Meta widget used to display the control form for a widget.

  | 
| [Custom_Image_Header::step_1()](https://developer.wordpress.org/reference/classes/custom_image_header/step_1/)`wp-admin/includes/class-custom-image-header.php` |

Displays first step of custom header image page.

  | 
| [Custom_Image_Header::step_2()](https://developer.wordpress.org/reference/classes/custom_image_header/step_2/)`wp-admin/includes/class-custom-image-header.php` |

Displays second step of custom header image page.

  | 
| [Custom_Image_Header::show_header_selector()](https://developer.wordpress.org/reference/classes/custom_image_header/show_header_selector/)`wp-admin/includes/class-custom-image-header.php` |

Displays UI for selecting one of several default headers.

  | 
| [confirm_delete_users()](https://developer.wordpress.org/reference/functions/confirm_delete_users/)`wp-admin/includes/ms.php` |  | 
| [core_upgrade_preamble()](https://developer.wordpress.org/reference/functions/core_upgrade_preamble/)`wp-admin/update-core.php` |

Display upgrade WordPress for downloading latest or upgrading automatically form.

  | 
| [list_plugin_updates()](https://developer.wordpress.org/reference/functions/list_plugin_updates/)`wp-admin/update-core.php` |

Display the upgrade plugins form.

  | 
| [list_theme_updates()](https://developer.wordpress.org/reference/functions/list_theme_updates/)`wp-admin/update-core.php` |

Display the upgrade themes form.

  | 
| [list_translation_updates()](https://developer.wordpress.org/reference/functions/list_translation_updates/)`wp-admin/update-core.php` |

Display the update translations form.

  | 
| [do_core_upgrade()](https://developer.wordpress.org/reference/functions/do_core_upgrade/)`wp-admin/update-core.php` |

Upgrades WordPress core display.

  | 
| [Custom_Background::admin_page()](https://developer.wordpress.org/reference/classes/custom_background/admin_page/)`wp-admin/includes/class-custom-background.php` |

Displays the custom background page.

  | 
| [wp_auth_check_html()](https://developer.wordpress.org/reference/functions/wp_auth_check_html/)`wp-includes/functions.php` |

Outputs the HTML that shows the wp-login dialog when the user is no longer logged in.

  | 
| [WP_Nav_Menu_Widget::form()](https://developer.wordpress.org/reference/classes/wp_nav_menu_widget/form/)`wp-includes/widgets/class-wp-nav-menu-widget.php` |

Outputs the settings form for the Navigation Menu widget.

  | 
| [WP_Widget_Recent_Comments::form()](https://developer.wordpress.org/reference/classes/wp_widget_recent_comments/form/)`wp-includes/widgets/class-wp-widget-recent-comments.php` |

Outputs the settings form for the Recent Comments widget.

  | 
| [WP_Widget_Tag_Cloud::form()](https://developer.wordpress.org/reference/classes/wp_widget_tag_cloud/form/)`wp-includes/widgets/class-wp-widget-tag-cloud.php` |

Outputs the Tag Cloud widget settings form.

  | 
| [WP_Widget_Categories::form()](https://developer.wordpress.org/reference/classes/wp_widget_categories/form/)`wp-includes/widgets/class-wp-widget-categories.php` |

Outputs the settings form for the Categories widget.

  | 
| [WP_Widget_Recent_Posts::form()](https://developer.wordpress.org/reference/classes/wp_widget_recent_posts/form/)`wp-includes/widgets/class-wp-widget-recent-posts.php` |

Outputs the settings form for the Recent Posts widget.

  | 
| [WP_Widget_Calendar::form()](https://developer.wordpress.org/reference/classes/wp_widget_calendar/form/)`wp-includes/widgets/class-wp-widget-calendar.php` |

Outputs the settings form for the Calendar widget.

  | 
| [WP_Widget_Text::form()](https://developer.wordpress.org/reference/classes/wp_widget_text/form/)`wp-includes/widgets/class-wp-widget-text.php` |

Outputs the Text widget settings form.

  | 
| [WP_Widget_Archives::form()](https://developer.wordpress.org/reference/classes/wp_widget_archives/form/)`wp-includes/widgets/class-wp-widget-archives.php` |

Outputs the settings form for the Archives widget.

  | 
| [WP_Widget_Meta::widget()](https://developer.wordpress.org/reference/classes/wp_widget_meta/widget/)`wp-includes/widgets/class-wp-widget-meta.php` |

Outputs the content for the current Meta widget instance.

  | 
| [WP_Widget_Meta::form()](https://developer.wordpress.org/reference/classes/wp_widget_meta/form/)`wp-includes/widgets/class-wp-widget-meta.php` |

Outputs the settings form for the Meta widget.

  | 
| [WP_Widget_Search::form()](https://developer.wordpress.org/reference/classes/wp_widget_search/form/)`wp-includes/widgets/class-wp-widget-search.php` |

Outputs the settings form for the Search widget.

  | 
| [WP_Widget_Links::form()](https://developer.wordpress.org/reference/classes/wp_widget_links/form/)`wp-includes/widgets/class-wp-widget-links.php` |

Outputs the settings form for the Links widget.

  | 
| [WP_Widget_Pages::form()](https://developer.wordpress.org/reference/classes/wp_widget_pages/form/)`wp-includes/widgets/class-wp-widget-pages.php` |

Outputs the settings form for the Pages widget.

  | 
| [wp_widget_rss_form()](https://developer.wordpress.org/reference/functions/wp_widget_rss_form/)`wp-includes/widgets.php` |

Displays RSS widget options form.

  | 
| [WP_Admin_Bar::_render()](https://developer.wordpress.org/reference/classes/wp_admin_bar/_render/)`wp-includes/class-wp-admin-bar.php` |  | 
| [wp_rss()](https://developer.wordpress.org/reference/functions/wp_rss/)`wp-includes/rss.php` |

Display all RSS items in a HTML ordered list.

  | 
| [WP_Customize_Header_Image_Control::print_header_image_template()](https://developer.wordpress.org/reference/classes/wp_customize_header_image_control/print_header_image_template/)`wp-includes/customize/class-wp-customize-header-image-control.php` |

Prints header image template.

  | 
| [WP_Customize_Header_Image_Control::render_content()](https://developer.wordpress.org/reference/classes/wp_customize_header_image_control/render_content/)`wp-includes/customize/class-wp-customize-header-image-control.php` |

Renders the control’s content.

  | 
| [WP_Widget_Area_Customize_Control::render_content()](https://developer.wordpress.org/reference/classes/wp_widget_area_customize_control/render_content/)`wp-includes/customize/class-wp-widget-area-customize-control.php` |

Renders the control’s content.

  | 
| [WP_Customize_Control::render_content()](https://developer.wordpress.org/reference/classes/wp_customize_control/render_content/)`wp-includes/class-wp-customize-control.php` |

Renders the control’s content.

  | 
| [Walker_Comment::ping()](https://developer.wordpress.org/reference/classes/walker_comment/ping/)`wp-includes/class-walker-comment.php` |

Outputs a pingback comment.

  | 
| [comments_popup_link()](https://developer.wordpress.org/reference/functions/comments_popup_link/)`wp-includes/comment-template.php` |

Displays the link to the comments for the current post ID.

  | 
| [WP_Customize_Widgets::output_widget_control_templates()](https://developer.wordpress.org/reference/classes/wp_customize_widgets/output_widget_control_templates/)`wp-includes/class-wp-customize-widgets.php` |

Renders the widget form control templates into the DOM.

  | 
| [_WP_Editors::wp_link_dialog()](https://developer.wordpress.org/reference/classes/_wp_editors/wp_link_dialog/)`wp-includes/class-wp-editor.php` |

Dialog for internal linking.

  | 
| [wp_print_media_templates()](https://developer.wordpress.org/reference/functions/wp_print_media_templates/)`wp-includes/media-template.php` |

Prints the templates used in the media manager.

  |

[Show 165 more](https://developer.wordpress.org/reference/functions/_e/?output_format=md#)
[Show less](https://developer.wordpress.org/reference/functions/_e/?output_format=md#)

## 󠀁[Changelog](https://developer.wordpress.org/reference/functions/_e/?output_format=md#changelog)󠁿

| Version | Description | 
| [1.2.0](https://developer.wordpress.org/reference/since/1.2.0/) | Introduced. |

## 󠀁[User Contributed Notes](https://developer.wordpress.org/reference/functions/_e/?output_format=md#user-contributed-notes)󠁿

 1.   [Skip to note 7 content](https://developer.wordpress.org/reference/functions/_e/?output_format=md#comment-content-1229)
 2.    [Codex](https://profiles.wordpress.org/codex/)  [  11 years ago  ](https://developer.wordpress.org/reference/functions/_e/#comment-1229)
 3.  [You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2F_e%2F%23comment-1229)
     Vote results for this note: 5[You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2F_e%2F%23comment-1229)
 4.  **Basic Example**
 5.  Display some translated text:
 6.      ```php
         <?php _e( 'Some text to translate and display.', 'textdomain' ); ?>
         ```
     
 7.   [Log in to add feedback](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2F_e%2F%3Freplytocom%3D1229%23feedback-editor-1229)
 8.   [Skip to note 8 content](https://developer.wordpress.org/reference/functions/_e/?output_format=md#comment-content-2120)
 9.    [Casper Braske](https://profiles.wordpress.org/casper-braske/)  [  10 years ago  ](https://developer.wordpress.org/reference/functions/_e/#comment-2120)
 10. [You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2F_e%2F%23comment-2120)
     Vote results for this note: 5[You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2F_e%2F%23comment-2120)
 11. The WordPress documentation states that you should not use
 12.     ```php
         echo __( 'translate text', 'textdomain' );
         ```
     
 13. but use
 14.     ```php
         _e( 'translate text', 'textdomain' );
         ```
     
 15. instead.
 16.  [Log in to add feedback](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2F_e%2F%3Freplytocom%3D2120%23feedback-editor-2120)
 17.  [Skip to note 9 content](https://developer.wordpress.org/reference/functions/_e/?output_format=md#comment-content-2431)
 18.   [McContax](https://profiles.wordpress.org/masscarl61/)  [  9 years ago  ](https://developer.wordpress.org/reference/functions/_e/#comment-2431)
 19. [You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2F_e%2F%23comment-2431)
     Vote results for this note: 3[You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2F_e%2F%23comment-2431)
 20.     ```php
         _e( string $text, string $domain = 'default' )
         ```
     
 21. In this function,the “$domain” is used to locate the multilingual file.(The file
     which is the translation of your theme.)
      In wp-include there is a function related
     to this var
 22.     ```php
         function load_theme_textdomain( $domain, $path = false ) {
         $locale = apply_filters( 'theme_locale', get_locale(), $domain );
     
         if ( ! $path )
         $path = get_template_directory();
     
         // Load the textdomain from the Theme provided location, or theme directory first
         $mofile = "{$path}/{$locale}.mo";
         if ( $loaded = load_textdomain($domain, $mofile) )
         return $loaded;
     
         // Else, load textdomain from the Language directory
         $mofile = WP_LANG_DIR . "/themes/{$domain}-{$locale}.mo";
         return load_textdomain($domain, $mofile);
         }
         ```
     
 23. You can see $domain is used in this file.Actually it’s used to locate the .mo 
     file.So you must may sure it share the same name with your theme folder name
 24.  [Log in to add feedback](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2F_e%2F%3Freplytocom%3D2431%23feedback-editor-2431)
 25.  [Skip to note 10 content](https://developer.wordpress.org/reference/functions/_e/?output_format=md#comment-content-1578)
 26.   [Hinaloe](https://profiles.wordpress.org/hnle/)  [  10 years ago  ](https://developer.wordpress.org/reference/functions/_e/#comment-1578)
 27. [You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2F_e%2F%23comment-1578)
     Vote results for this note: 0[You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2F_e%2F%23comment-1578)
 28. This function is same as `echo __` like:
 29.     ```php
         // their are same
         echo __( 'translate text', 'textdomain' );
     
         _e( 'translate text', 'textdomain' );
         ```
     
 30.  [Log in to add feedback](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2F_e%2F%3Freplytocom%3D1578%23feedback-editor-1578)
 31.  [Skip to note 11 content](https://developer.wordpress.org/reference/functions/_e/?output_format=md#comment-content-4735)
 32.   [Jacob Schwartz](https://profiles.wordpress.org/mightyturtle/)  [  6 years ago  ](https://developer.wordpress.org/reference/functions/_e/#comment-4735)
 33. [You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2F_e%2F%23comment-4735)
     Vote results for this note: 0[You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2F_e%2F%23comment-4735)
 34. Important security note: `_e()` is not an escaping function. Since all output 
     really needs to be escaped, consider using `__()` instead.
 35. For example, this is safe:
      `echo esc_html( __( 'This is my translatable text'))`
 36. But this might not be, because the output can get filtered and is not escaped 
     close to where it is output:
      `_e( 'This is my translatable text' )`
 37.  * For escaping the translatable text you can simply use `esc_html_e` instead 
        of `_e`
      * [kontur.us](https://profiles.wordpress.org/netzaufsicht/) [5 years ago](https://developer.wordpress.org/reference/functions/_e/#comment-5569)
      * echo esc_html( __( ‘This is my translatable text’ ) ) does not display the 
        text for me
      * [devalott](https://profiles.wordpress.org/devalott/) [4 years ago](https://developer.wordpress.org/reference/functions/_e/#comment-6390)
      * Or use `[esc_html_e()](https://developer.wordpress.org/reference/functions/esc_html_e/)`
        to translate, escape, and echo.
      * [crstauf](https://profiles.wordpress.org/crstauf/) [4 years ago](https://developer.wordpress.org/reference/functions/_e/#comment-6393)
 38.  [Log in to add feedback](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2F_e%2F%3Freplytocom%3D4735%23feedback-editor-4735)
 39.  [Skip to note 12 content](https://developer.wordpress.org/reference/functions/_e/?output_format=md#comment-content-6707)
 40.   [Aurovrata Venet](https://profiles.wordpress.org/aurovrata/)  [  3 years ago  ](https://developer.wordpress.org/reference/functions/_e/#comment-6707)
 41. [You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2F_e%2F%23comment-6707)
     Vote results for this note: 0[You must log in to vote on the helpfulness of this note](https://login.wordpress.org?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2F_e%2F%23comment-6707)
 42. Use escaping functions instead,
 43.     ```php
         esc_html_e( 'Some text', 'domain' );
         ```
     
 44. which is the equivalent of,
 45.     ```php
         echo esc_html( __( 'Some text', 'domain' ) );
         ```
     
 46.  [Log in to add feedback](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2F_e%2F%3Freplytocom%3D6707%23feedback-editor-6707)

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2F_e%2F)
before being able to contribute a note or feedback.