Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: [Resolved] bp_has_members( ‘user_id=’ not returning all friends

@catchthepigeon

Participant

@shanebp Thanks a lot that seems to work much better, or at least when I print the $matches array it seems to gives me the right user ID results.

It doesn’t seem to loop though when I pass it through though…

if ( bp_has_members( 'include=' . $matches ) ) :
while ( bp_members() ) : bp_the_member();

do I need to do anything to the $matches array first?

Skip to toolbar