Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




esc_html_e [ WordPress Function ]

esc_html_e ( $text, $domain = 'default' )
Parameters:
  • (string) $text Text to translate
  • (string) $domain Optional. Domain to retrieve the translated text
See:
Defined at:



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

Source


<?php
function esc_html_e$text$domain 'default' ) {
    echo 
esc_htmltranslate$text$domain ) );
}
?>

Examples [ wp-snippets.com ]

Top Google Search Results

More ...

User discussions [ wordpress.org ]

0 User Note(s)

None yet. Be the first!

Add New ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics