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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘filter for private groups plugin’ is closed to new replies.