WP_Meta_Query Generator October 25, 2018 Public Robert Hannink Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone Custom field $meta_query = array( array( 'key' => 'wpcf-land', 'value' => 'land', 'compare' => 'LIKE', ), );