File: bp-notifications/classes/class-bp-notifications-notification.php |
Description |
---|---|
BP_Notifications_Notification::mark_all_for_user() |
Mark all user notifications as read. |
BP_Notifications_Notification::mark_all_from_user() |
Mark all notifications from a user as read. |
BP_Notifications_Notification::mark_all_by_type() |
Mark all notifications for all users as read by item id, and optional secondary item id, and component name and action. |
BP_Notifications_Notification::get() |
Get notifications, based on provided filter parameters. |
BP_Notifications_Notification::get_grouped_notifications_for_user() |
Get a user’s unread notifications, grouped by component and action. |
BP_Notifications_Notification::get_total_count() |
Get a count of total notifications matching a set of arguments. |
BP_Notifications_Notification::get_meta_query_sql() |
Get the SQL for the ‘meta_query’ param in BP_Notifications_Notification::get(). |
BP_Notifications_Notification::get_date_query_sql() |
Get the SQL for the ‘date_query’ param in BP_Notifications_Notification::get(). |
BP_Notifications_Notification::update() |
Update notifications. |
bp_notification_before_update |
Fires before the update of a notification item. |