WordPress at a glance
filter is not described

esc_html filter-hook . WP 2.8.0

Filters a string cleaned and escaped for output in HTML.

Text passed to esc_html() is stripped of invalid or special characters before output.


add_filter( 'esc_html', 'filter_function_name_9307', 10, 2 );
function filter_function_name_9307( $safe_text, $text ){
	// filter...

	return $safe_text;
The text after it has been escaped.
* @param string $text The text prior to being escaped.

Where the hook is called

wp-includes/formatting.php 3966
return apply_filters( 'esc_html', $safe_text, $text );

Where the hook is used (in WP core)

Does not used.