WP_Meta_Query Generator June 29, 2018 Public Patrick Coridan Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone companyid $meta_query = array( array( 'key' => 'company_id', 'value' => 'COMPANY_ID', 'compare' => '=', ), );