Filter users by using OR not AND
-
I’m using Budddypress 1.8.1
There is some great info about the buddypress Member’s loop and how to filter results. However, I’m try to filter results on a group of users who have selected a specific country. for example:
All those who live in Argentina OR Chile OR Colombia, but NOT Peru.
This code only gives an example of AND not OR:<?php if ( bp_has_members( 'search_terms=Argentina Chile Colombia' ) ) : ?>
If anyone knows or has found another topic on here for a similar request, I would be very grateful; thanks
- The topic ‘Filter users by using OR not AND’ is closed to new replies.