This action can be used to display custom HTML under the comment form. The HTML will be added in the div with the .wpdiscuz-textarea-foot class.
Changelog
since 7.0.0 version
Parameters
1. $uniqueId (type: string) - the unique ID of the form
2. $currentUser (type: WP_User object) -the user object that is currently logged in
3. $form (type: Form object) - the object of the form
2. $currentUser (type: WP_User object) -the user object that is currently logged in
3. $form (type: Form object) - the object of the form
Usage
add_action("wpdiscuz_button", function ($uniqueId, $currentUser, $form) {
echo "Custom Message";
}, 10, 3);