Skip to main content

Filter: gravityview/fields/textarea/allowed_kses

Allow the following HTML tags and strip everything else.

Parameters

NameTypeDescription
$allowed_htmlarray|stringContext string (allowed strings are post, strip, data, entities, or the name of a field filter such as pre_user_description) or allowed tags array (see above). [Default: 'post']
$gravityview\GV\Template_ContextThe context

See Also

  • wp_kses_allowed_html() - For allowed contexts

Since

Source

  • Defined in templates/fields/field-textarea-html.php at line 40
  • Defined in templates/deprecated/fields/textarea.php at line 28