wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



esc_html › Filtr WordPress Hooks

Od2.8.0
Przestarzałyn/a
› apply_filters( 'esc_html', $safe_text, $text )
Parametry: (2)
  • () safe_text The text after it has been escaped.
    Wymagane: Tak
  • () text The text prior to being escaped.
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

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