I have a very similar question so i post in your topic.
Iam trying to show only the posts of users that a user is following
if ( bp_has_activities( array(
'user_id' => bp_get_following_ids()
) ) ) :
$args = array('user_id' => bp_get_following_ids());
$loop = new WP_Query($args);
while ( $loop -> have_posts() ) :
$loop -> the_post();
This custom loop i am trying to pass has not any results. It just shows all posts. What am i missing?
Thank you in advance for any help, and ofcourse thank you for this beautiful plugin you made!
https://www.ads-software.com/plugins/buddypress-followers/