apply_filters( 'bp_activity_get_sitewide' )
Pass filters as an array: array( ‘user_id’ => false, // user_id to filter on ‘object’ => false, // object to filter on e.g. groups, profile, status, friends ‘action’ => false, // action to filter on e.g. new_wire_post, new_forum_post, profile_updated ‘primary_id’ => false, // object ID to filter on e.g. a group_id or forum_id or blog_id etc.
Description
‘secondary_id’ => false, // secondary object ID to filter on e.g. a post_id );
Source
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.