WP_Meta_Query Generator March 24, 2019 Public Salman Patnee Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone Single Meta Query $meta_query = array( array( 'key' => 'tgj_featured', 'value' => '1', 'compare' => '=', 'type' => 'NUMERIC', ), );