Home Forums WordPress Plugins Disable Reply Notification | bbPress Notify (No-Spam) Reply To: Disable Reply Notification | bbPress Notify (No-Spam)

#10933
vinny
Keymaster

Hi Chris,

Thanks for reaching out. The tricky part about disabling reply notification completely (and keeping topic notifications) is that bbPress core notifications will still go out if you remove all roles and uncheck Override Subscriptions to Topics.

If you do want to disable topic notifications as well, then just disable subscriptions in the bbPress settings and then, well, feel free to remove bbpnns.

If, however, you want to keep topic notifications and disable only reply notifications, please put the code below in your functions.php file:


add_filter('bbpress_reply_notify_recipients', 'stop_reply_notifications', 10, 4);
function stop_reply_notifications($recipients, $reply_id, $topic_id, $forum_id) {
   // Return empty array so nobody gets notified
   return array();
}

Please let me know if you have any questions.

Cheers,
Vinny