WP_Meta_Query Generator October 25, 2022 Public c h Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone recentevents $meta_query = array( array( 'key' => 'event', 'value' => '$recentEvents[0]', 'compare' => 'LIKE', ), );