Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

asd

$meta_query = array(
	'relation' => 'AND',
	array(
		'key'     => 'attach_product_product',
		'value'   => '123',
		'compare' => '=',
		'type'    => 'NUMERIC',
	),
);