WP_Meta_Query Generator July 9, 2019 Public Patrick Coridan Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone exists $meta_query = array( array( 'key' => 'file_type', 'compare' => 'EXISTS', ), );