Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP_User_Query Member Type


  • Jake Ward
    Participant

    @jakeward

    I’m having issues using BP_User_query to search for users of a specific member type. Any help much appreciated. Please see code below.

    	$args12 = array(
           'member_type__in' => 'vendor'
    	);
    	$user_query12 = new BP_User_Query( $args12 );
    	$users12 = $user_query12->results;
    	foreach ( $users12 as $user12 ) {
            ...
    
  • You must be logged in to reply to this topic.
Skip to toolbar