4 years, 1 month ago
How do I get the Post ID from an activity notification?
That particular notification is for a private message. See where it says component_name. Post IDs won’t relate to messages
I had a very strange circumstance based on a custom notifications loop where we hooked into the messaging system. I had to find my post_id from the message thread_id. Probably won’t help anyone but maybe! 😀
Ah OK. For message notifications, you should find the message thread ID in item_id
4 years ago
I believe we should write a ticket, because, it would be nice to get id if the item.
See also: WordPress.org •
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service