Skip to:

Opened 5 months ago

#3249 new enhancement

User IDs filter to be notified should pass the reply ID ad the topic ID

Reported by: satollo Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords:


It would be very useful if the filter bbp_topic_subscription_user_ids (on bbPress 2.5 function bbp_notify_topic_subscribers on common/functions.php) could pass even the reply, topic (and maybe forum) IDs.

It'll let the filters to decide if someone should not be notified for a specif topic (for example I use it to not send to the same user more than one notification a day for a topic IF she does not visit the topic after a notification).

$user_ids = apply_filters( 'bbp_topic_subscription_user_ids', $user_ids, $reply_id, $topic_id );

Thank you, Stefano.

Change History (0)

Note: See TracTickets for help on using tickets.