Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

end_time

$meta_query = array(
	'relation' => 'OR',
	array(
		'key'     => 'end_time',
		'value'   => '.',
		'compare' => '=',
	),
	array(
		'key'     => 'end_time',
		'value'   => 'date',
		'compare' => '<=',
	),
);