bp_notifications_get_notification( int $id )

Get a specific notification by its ID.


Parameters Parameters

$id

(int) (Required) ID of the notification.


Top ↑

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 );
}


Top ↑

Changelog Changelog

Changelog
Version Description
1.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.