File: bp-notifications/classes/class-bp-notifications-notification.php |
Description |
---|---|
BP_Notifications_Notification::get_unread_for_user() |
Fetch all the unread notifications in the database for a specific user. |
BP_Notifications_Notification::get_read_for_user() |
Fetch all the read notifications in the database for a specific user. |
BP_Notifications_Notification::get_current_notifications_for_user() |
Get unread notifications for a user, in a pagination-friendly format. |
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(). |