Syntax for search_terms in bp_has_site_members
I’m trying to create a specialized search result page based on a music genre. I’m currently using the following code but it returns all users:
<?php if ( bp_has_site_members( 'search_terms=metal&per_page=10' ) ) : ?>
Is this the correct syntax, or what am I missing?
- The topic ‘Syntax for search_terms in bp_has_site_members’ is closed to new replies.