BuddyDev

Search

[Resolved] Filter for favorites notifications

  • Participant
    Level: Initiated
    Posts: 10
    Jamie Halmick on #2253

    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!

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #2255

    Thank you Jamie. Added now. Will be pushing an update in 30 mins or so.

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #2261

    It is included in 1.1.2. Marking it as resolved now.

The topic ‘ [Resolved] Filter for favorites notifications’ is closed to new replies.

This topic is: resolved