I have a Custom Post Type classified
I figured out how to record an activity in the BuddyPress activity stream whenever a new post of type classified
is created.
What I am specifically looking to do is either modify the above code or start fresh so that whenever a post of type classified
is edited a new activity is recorded.
Here is the inspiration for the original code if it helps
https://bp-tricks.com/snippets/adding-a-new-activity-stream-entry-when-a-user-changes-his-avatar/