WP_Meta_Query Generator January 8, 2017 Public Randall Davidson Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone groople htid $meta_query = array( array( 'key' => 'ht_id', 'value' => '$ht_id', 'compare' => '=', 'type' => 'NUMERIC', ), );