WPDev.one

esc_html()

esc_html( mixed $text )

Escaping for HTML blocks.

Parameters 1 required

Name / Type Description
string

$text

Required

Return Value

(string)
string

Function Information

Since Version
2.8.0
Source File
wp-includes/formatting.php
Advertisement