bp_notifications_get_notification( int $id )
Get a specific notification by its ID.
Description
Parameters
- $id
-
(Required) ID of the notification.
Return
(BP_Notifications_Notification) Notification object for ID specified.
Source
File: bp-notifications/bp-notifications-functions.php
function bp_notifications_get_notification( $id ) { return new BP_Notifications_Notification( $id ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.9.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.