esc_html

esc_html

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('esc_html') is found 1 times:

  • /wp-includes/formatting.php line 4695
    	 *
    	 * @param string $safe_text The text after it has been escaped.
    	 * @param string $text      The text prior to being escaped.
    	 */
    	return apply_filters( 'esc_html', $safe_text, $text );
    }
    
    /**
     * Escaping for HTML attributes.
     *
     * @since 2.8.0
    

See this hook used in plugins: