Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Menor que

$meta_query = array(
	array(
		'key'     => 'fecha-fin',
		'value'   => 'today',
		'compare' => '<',
		'type'    => 'DATETIME',
	),
);