wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



esc_html › WordPress Filter Hooks

Seit2.8.0
Veraltetn/v
apply_filters( 'esc_html', $safe_text, $text )
Parameter: (2)
  • () safe_text The text after it has been escaped.
    Erforderlich: Ja
  • () text The text prior to being escaped.
    Erforderlich: Ja
Definiert in:
Codex:

Filters a string cleaned and escaped for output in HTML.

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




Quellcode

return apply_filters( 'esc_html', $safe_text, $text );