Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

After June

$date_query = array(
	array(
		'before'        => '1 June 2020',
	),
);