Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Rating

$meta_query = array(
	array(
		'key'     => 'rating',
		'value'   => '1 2 3 4 5',
		'compare' => 'IN',
		'type'    => 'CHAR',
	),
);