File: bp-notifications/classes/class-bp-notifications-notification.php |
Description |
|---|---|
| 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. |
| BP_Notifications_Notification::delete() |
Delete notifications. |
| bp_notification_before_delete |
Fires before the deletion of a notification item. |
| BP_Notifications_Notification::delete_by_id() |
Delete a single notification by ID. |
| BP_Notifications_Notification::get_all_for_user() |
Fetch all the notifications in the database for a specific user. |
| BP_Notifications_Notification::get_unread_for_user() |
Fetch all the unread notifications in the database for a specific user. |