apply_filters( 'bp_core_get_notifications_for_user', array|bool $renderable , int $user_id , string $format )
Filters the final array of notifications to be displayed for a user.
Parameters Parameters
- $renderable
-
(array|bool) Array of notifications to render or false if no notifications.
- $user_id
-
(int) ID of the user whose notifications are being displayed.
- $format
-
(string) Display format requested for the notifications.
Source Source
Changelog Changelog
Version | Description |
---|---|
1.6.0 | Introduced. |