Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

User is in team

$user_team = array(
	'relation' => 'OR',
	array(
		'key'     => 'team_captain',
		'value'   => 'omid',
	),
	array(
		'key'     => 'team_player',
		'value'   => 'omid',
	),
);