Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

snip1

$date_expire_query = array(
	array(
		'key'     => 'date_expires',
		'type'    => 'DATE',
	),
);