Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Meta

$meta_query = array(
	'relation' => 'OR',
	array(
		'key'     => 'adopted_fostered_by',
		'type'    => 'NUMERIC',
	),
	array(
		'key'     => 'adopted_fostered_by_1',
		'type'    => 'NUMERIC',
	),
);