wordpress get_posts custom posts by meta key
/* Query args. */
$args = array(
'post_type' => 'reviews',
'posts_per_page' => -1,
'meta_key' => 'location',
'meta_value' => 'berkshire'
);
/* Get Reviews */
$reviews = get_posts( $args );