wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



esc_html › WordPress Filter Hooks

Da2.8.0
Deprecaton/a
› apply_filters( 'esc_html', $safe_text, $text )
Parametri: (2)
  • () safe_text The text after it has been escaped.
    Richiesto: Sì
  • () text The text prior to being escaped.
    Richiesto: Sì
Definito a:
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.




Sorgenti

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