apply_filters( 'bp_notifications_get_total_notification_count', int $count , int $user_id )
Filters the count of unread notification items for a user.
Parameters Parameters
- $count
-
(int) Count of unread notification items for a user.
- $user_id
-
(int) User ID for notifications count.
Source Source
Changelog Changelog
Version | Description |
---|---|
2.7.0 | Added user ID parameter. |
1.9.0 | Introduced. |