Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Last activity is after 2023

$meta_query = array(
	array(
		'key'     => 'last_activity',
		'value'   => '2023',
		'compare' => '>',
		'type'    => 'DATE',
	),
);