WP_Meta_Query Generator October 15, 2024 Public Becky Dunn Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone sdtype $meta_query = array( 'relation' => 'AND', array( 'key' => 'sd_survey_type', 'value' => '1', 'compare' => '=', ), );