File: bp-notifications/classes/class-bp-notifications-notification.php |
Description |
---|---|
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. |
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. |