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);

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.