Disable send email on comment approved in wpDiscuz

Disable send email on comment approved in wpDiscuz on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter("wpdiscuz_send_email_on_approving", function ($sendMail, $email, $comment) {
    return false;
}, 10, 3);