Get meta key with value for user
Use get_user_meta() to get the meta data associated with the users in your loop: <?php $roles = array(‘autobuyer’); $users = array(); foreach ( $roles as $role ) { $args = array( ‘role’=>$role, ‘orderby’ => ‘registered’, ‘order’ => ‘ASC’, ‘search_columns’ => ‘nicename’, ‘number’=> 0, ‘date_query’ => array( ‘after’ => ‘October 14st, 2013’, ‘before’ => array( ‘year’ … Read more