Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Meta Query1

$meta_query = array(
	array(
		'key'     => 'custom_field1',
		'type'    => 'NUMERIC',
	),
);