How to get the activity ID and using it in hook?
So i want to write some extra data into the DB when someone is posting a activity update.
I am not quite sure though what hook to use. I tried: bp_activity_posted_update AND bp_activity_add
Anyway, i am going to need the activity ID when writing data into the DB. So, how do i get the activity ID in a custom function and using when someone is posting an activity update.
- You must be logged in to reply to this topic.