Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

reg meta query

$meta_query = array(
	array(
		'key'     => 'connected_product_cat',
		'value'   => '111',
		'compare' => '=',
	),
);