Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

attached_to_project

$meta_query = array(
	array(
		'key'     => 'attached_to_project',
		'value'   => 'xxx',
		'compare' => 'IN',
		'type'    => 'NUMERIC',
	),
);