bp_get_the_notification_item_id()
Return the associated item ID of the notification currently being iterated on.
Description Description
Return Return
(int) ID of the item associated with the current notification.
Source Source
File: bp-notifications/bp-notifications-template.php
function bp_get_the_notification_item_id() {
/**
* Filters the associated item ID of the notification currently being iterated on.
*
* @since 1.9.0
*
* @param int $item_id ID of the associated item.
*/
return apply_filters( 'bp_get_the_notification_item_id', buddypress()->notifications->query_loop->notification->item_id );
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.9.0 | Introduced. |