Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

user_query_meta_query

$meta_query = array(
	array(
		'key'     => 'sales_rep',
		'value'   => 'get_current_user_id()',
		'compare' => '=',
	),
);