Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

ads >=

$meta_query = array(
	'relation' => 'OR',
	array(
		'key'     => 'action_date_start',
		'value'   => '$queryDateStart',
		'compare' => '>=',
		'type'    => 'DATE',
	),
	array(
		'key'     => 'action_date_end',
		'value'   => '$queryDateEnd',
		'compare' => '<=',
		'type'    => 'DATE',
	),
);