Thanks for building this very useful plugin. I extended it to add my own activity types, and needed to know the ID of the new activity item post that's created in wp_insert_user_activity().
After inserting the new activity item, allow wp_insert_user_activity() to return the newly created activity item ID, so that other processing may take place like adding complicated post meta or taxonomy terms.
Hi John-
Thanks for building this very useful plugin. I extended it to add my own activity types, and needed to know the ID of the new activity item post that's created in
wp_insert_user_activity()
.Thanks!
-David