Shop Forums WordPress Plugins Disable Reply Notification | bbPress Notify (No-Spam)

This topic contains 3 replies, has 2 voices, and was last updated by  vinny 1 month ago.

  • Author
    Posts
  • #10931

    Martin Schmucki
    Participant

    Hi

    I wanna disable Reply Notification completely, is there any option for that?

    I’m using the BuddyPress Bridge and Private Groups Bridge.

    Thanks,
    Chris

  • #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

  • #10951

    Martin Schmucki
    Participant

    Hi Vinny

    I implemented it in the functions.php.
    It worked like a charme – thanks for the great support! 🙂

    Cheers,
    Chris

  • #10956

    vinny
    Keymaster

    My pleasure!

You must be logged in to reply to this topic.