Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

immo_select_and

$meta_immo_status = array(
	'relation' => 'AND',
	array(
		'key'     => 'online',
		'value'   => '1',
		'compare' => '=',
	),
	array(
		array(
			'key'     => 'status_name',
			'value'   => 'Frei',
			'compare' => '=',
			'type'    => 'CHAR',
		),
	),
);