Skip to:
Content

bbPress.org

Opened 8 months ago

Last modified 11 days ago

#3249 assigned enhancement

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

Reported by: satollo Owned by: johnjamesjacoby
Milestone: 2.6 Priority: normal
Severity: normal Version:
Component: API - Subscriptions Keywords: needs-patch
Cc:

Description

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 (1)

#1 @johnjamesjacoby
11 days ago

  • Component changed from General to API - Subscriptions
  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 2.6
  • Owner set to johnjamesjacoby
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.