WP_Meta_Query Generator July 6, 2017 Public Adrian Calvet Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone office $meta_query = array( array( 'key' => 'office', 'value' => 'bcn', 'compare' => '=', ), );