WP_Meta_Query Generator May 5, 2019 Public Robert Kleinert Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone upcoming $meta_query = array( 'relation' => 'AND', array( 'key' => 'tp_event_status', 'value' => 'upcoming', ), );