bp_notifications_get_notification( int $id )
Get a specific notification by its ID.
Description Description
Parameters Parameters
- $id
-
(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 ); }
Changelog Changelog
Version | Description |
---|---|
1.9.0 | Introduced. |