Only friends and group members activity
I am editing the activity loop of the buddypress and I only want the activity page to show the activity of “friends” and “group members” (for example, when a group members posts an update or anything in the group where I am a member of, but doesn’t show the updates of group I am not a member of).
I have this code for friends activity only
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ).'&scope=friends&action=activity_update' ) ) : ?>
But I want it to include the, above said, group members activity.
Kind regards and thanks in advance.
You must be logged in to reply to this topic.