Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Is it possible to get the item ID from notification objects?

@godavid33

Participant

I swear, probably 80% of my posts result in me solving my own damn problem.

Inside your notification loop, if you can not see the item_id when using print_r on the notification object (returned by bp_core_get_notifications_for_user($uid, ‘object’) ) then call this function on the notification ID: bp_notifications_get_notification( $notif->id )

The object this returns contains the item_id (print_r it to see what’s up).

Hope this helps someone

Skip to toolbar