Members Loop with ACF Parameter
- 
		bp version: latest 
 wp version: latest
 site: localI am attempting to use an Advanced Custom Field as a parameter on my BP Members loop and I can’t quite get it right. The ACF is ‘new_user’, value= true/false, used as a User meta field for administration purposes. To be clear, this is not an xprofile field. I am creating a simple admin dashboard where I can display my normal BP Members Loop, but filtered by users who have a true value for the ACF ‘new_user’. How exactly do I add the parameter to the following so that my member’s loop only displays users with a value of true for this ACF? I have been trying variations on this, and I simply get all users: <!– start loop –> 
 <?php if ( bp_has_members(‘new_user’) ) : ?>
 <?php endif; ?>
 <?php while ( bp_members() ) : bp_the_member(); ?>
 //OUTPUT HERE
 … <?php endwhile; ?>
 <!– end loop –>I have read the codex, so I am looking for an actual example. Thanks! 
- You must be logged in to reply to this topic.