wp_kses( ... )

Filters text content and strips out disallowed HTML.

Parameters:
  • $content string
  • $allowed_html array[] | string
  • $allowed_protocols string[]