esc_html – filter
Filters a string cleaned and escaped for output in HTML. Text passed to esc_html() is stripped of invalid or special characters before output.
Parameters
- .
- ( 2.8.0 ) . .
- $safe_text
- ( string ) The text after it has been escaped. . . .
- $text
- ( string ) The text prior to being escaped. . . .
Invokers
1 to 1 of 1