Skip to:
Content
Pages
Categories
Search
Top
Bottom

Create button/action that clears all notifications for a user.

  • Avatar of embergermedia
    embergermedia
    Member

    @embergermedia

    My users are asking for a way to clear all their notifications at once. They commonly visit the site through email notifications, and as such they don’t use the site notification system a lot. Though they do sometimes.

    So I have been looking for a solution. I found this in bp-core-notifications.php

    function bp_core_delete_notifications_from_user

    Can this be used to create a button that will clear notifications of all types at the same time for the logged in user?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Create button/action that clears all notifications for a user.’ is closed to new replies.