WP_Meta_Query Generator July 5, 2019 Public ethan wang Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone meta $meta_query = array( array( 'key' => '_category_index', 'value' => '1', 'compare' => '=', 'type' => 'NUMERIC', ), );