WP_Meta_Query Generator June 1, 2020 Public Serkan Algur Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone Meta Easy $meta_query = array( 'relation' => 'AND', array( 'key' => '_lp_featured', 'value' => 'yes', 'compare' => '=', ), );