This filter can be used for changing the response array that should be returned to the JS after saving the edited comment.
Changelog
Since 7.0.0 version
Parameters
$response (type: array) – the response array that should be returned to the JS
Usage
add_filter("wpdiscuz_comment_edit_save", function ($response) {
$response["callbackFunctions"][] = "myCustomCallback";
return $response;
});
