Clear notification function
Is there any function to clear notification from users login and admin login? Thank you
Not at this time. It wouldn't be difficult to add, but we don't have a separate queue for the admin. The admin just has visibility to all the user notifications. So if the admin were to clear the notifications, then it would delete them for the users as well. Likewise, if a user deleted their notifications, it would delete the notification for the admin. So if we wanted to turn this into a feature, we might want to duplicate notifications (one for the admins and a separate one for the user). Or on the admin page, give notification that it will delete the notifications for all users.
If it's just a periodic thing, you can do it via SQL.
DELETE FROM notification
or for a specific user's notifications
DELETE FROM notification WHERE user_id=?
Hi there! On notification page we display all the notifications when user click on clear button on home page notification area. We can set flag 1 to 0 in database. For notification page we can display all the data.