Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: How would I get the thread link, or parent activity id, given the comment ID?

@henrywright

Moderator

bp_activity_get_specific() should be used like this:

// get activity
$activity_get = bp_activity_get_specific( array( 'activity_ids' => YOURACTIVITYID ) );

// single out the activity
$activity = $activity_get[0];

// grab specific activity item
$activity_body = $activity->content;

Ref: https://buddypress.org/support/topic/gettinng-id-of-the-activity-status/#post-112943

Skip to toolbar