This filter can be used for adding new field types in the popup of the form editing page.
Changelog
Since 7.0.0 version
Parameters
$fields (type: array) – the array of the custom fields that should be added in the popup of the form editing page
Usage
add_filter("wpdiscuz_form_custom_fields", function ($allowedFieldsType) { $allowedFieldsType[] = [ "type" => "customType", "title" => "CustomField", ]; return $allowedFieldsType; });