Re: activity stream post ID?
@hoodiemark – don’t know if you fixed this one, but the call you need is:
if (bp_get_activity_type() == ‘new_blog_post’) : bp_activity_secondary_item_id(); endif;
The post_id is the secondary_item_id, so no need to go trying to traverse deeper into the data structure.
You have two calls you can use:
bp_activity_secondary_item_id()
This echoes the id
bp_get_activity_secondary_item_id()
This returns the id
How do we start including this stuff in the Codex?