bp_notifications_get_notification( int $id )
Get a specific notification by its ID.
Parameters Parameters
- $id
-
(int) (Required) ID of the notification.
Return Return
(BP_Notifications_Notification) Notification object for ID specified.
Source Source
File: bp-notifications/bp-notifications-functions.php
function bp_notifications_get_notification( $id ) { return new BP_Notifications_Notification( $id ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
1.9.0 | Introduced. |