Title: filter for private groups plugin
Last modified: January 12, 2018

---

# filter for private groups plugin

 *  Resolved [Robin W](https://wordpress.org/support/users/robin-w/)
 * (@robin-w)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/filter-for-private-groups-plugin/)
 * Great plugin !
 * I am author of the bbp private groups plugin. This restricts forums to certain
   users, letting you create forum A with users X and forum b with users Y.
 * I want to add a filter so that sites can run both our plugins.
 * I therefore need to filter the recipients list to just those that can see the
   forum of a new topic or reply.
 * I am pretty sure that if I hook to these two filters to reduce the recipients
   list to just those can that see a topic or reply’s forum, then the task is done,
   but can you confirm that filtering these two will fix this, and I don’t need 
   any further hooks
 *     ```
       $recipients = apply_filters( 'bbpress_topic_notify_recipients', $recipients, $topic_id, $forum_id );
   
       $recipients = apply_filters( 'bbpress_reply_notify_recipients', $recipients, $reply_id, $topic_id, $forum_id );
       ```
   
 * Regards
 * Robin

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [useStrict](https://wordpress.org/support/users/usestrict/)
 * (@usestrict)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/filter-for-private-groups-plugin/#post-9859684)
 * Hi Robin,
 * Let’s discuss this via email. vinny [at] usestrict [dot] net.
 * I look forward to hearing from you.
 *  Plugin Author [useStrict](https://wordpress.org/support/users/usestrict/)
 * (@usestrict)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/filter-for-private-groups-plugin/#post-9864320)
 * As discussed, I’ll add the warning about sending messages to those who shouldn’t
   be receiving them if they don’t have the bridge.
 * Cheers!
    Vinny

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘filter for private groups plugin’ is closed to new replies.

 * ![](https://ps.w.org/bbpress-notify-nospam/assets/icon-256x256.png?rev=3449133)
 * [bbPress Notify (No-Spam)](https://wordpress.org/plugins/bbpress-notify-nospam/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bbpress-notify-nospam/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bbpress-notify-nospam/)
 * [Active Topics](https://wordpress.org/support/plugin/bbpress-notify-nospam/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bbpress-notify-nospam/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bbpress-notify-nospam/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [useStrict](https://wordpress.org/support/users/usestrict/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/filter-for-private-groups-plugin/#post-9864320)
 * Status: resolved