Viewing 3 posts - 1 through 3 (of 3 total)
The topic ‘ [Resolved] Filter for favorites notifications’ is closed to new replies.
This topic is: resolved
Tagged: bp-activity-comment-notifier
There wasn’t a filter to disable the favorites notification. We have those provided by a different plugin (BuddyBoss Wall). I added a filter and just wanted to suggest you add it officially so I don’t have to maintain a fork.
In line 63 of actions.php in ac_notify_on_favorite() I added:
//Let us add a filter to allow skipping favorite notifications if required
if ( apply_filters( ‘ac_notifier_skip_favorite_notification’, false, $activity ) ) {
return ;
}
Thanks!
Thank you Jamie. Added now. Will be pushing an update in 30 mins or so.
It is included in 1.1.2. Marking it as resolved now.
The topic ‘ [Resolved] Filter for favorites notifications’ is closed to new replies.