Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

query for umca dropdown

// WP_User_Query arguments
$args = array(
	'order'          => 'ASC',
	'orderby'        => 'display_name',
	'meta_query'     => array(
		'relation' => 'AND',
		array(
			'key'     => 'mepr_umca',
			'compare' => '>',
			'type'    => 'NUMERIC',
		),
	),
	'fields'         => 'all',
);

// The User Query
$user_query = new WP_User_Query( $args );

// The User Loop
if ( ! empty( $user_query->results ) ) {
	foreach ( $user_query->results as $user ) {
		// do something
	}
} else {
	// no users found
}