WP_Meta_Query Generator May 9, 2022 Public Ioannis Tsimpidis Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone Basic Meta Query $meta_query = array( array( 'key' => 'featured_post', 'value' => '1', 'compare' => '=', ), );