WP_Meta_Query Generator March 23, 2020 Public Jay Sharma Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone Candidate $meta_query = array( 'relation' => 'AND', array( 'key' => 'candidate_id', 'compare' => 'NOT EXISTS', ), );