This hook works when the form is being inited.
Changelog
since 7.0.0 version
Parameters
$form (type: wpdFormAttr\Form object) – the object of the inited form
Usage
add_action("wpdiscuz_form_init", function ($form) { $isUserCanComment = $form->isUserCanComment; });