Skip to main content

Filter: gform_allowable_tags

Allows the list of tags allowed in the field value to be modified.

Return FALSE to disallow HTML tags. Return TRUE to allow all HTML tags allowed by wp_kses_post(). Return a string of HTML tags allowed. e.g. '

'

Parameters​

NameTypeDescription
$allow_htmlbool
$this\GF_Field
$form_idint

Since​

  • Unknown: Unknown

Source​

Defined in includes/fields/class-gf-field.php at line 3358