WP_Meta_Query Generator May 19, 2021 Public Philip Smith Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone display $meta_query = array( array( 'key' => 'display', 'value' => 'true', 'compare' => '=', ), );