WP_Meta_Query Generator December 17, 2020 Public d r Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone coach of the post $meta_query = array( array( 'key' => 'coach_of_the_kurs', 'value' => '$coach->name', 'compare' => 'LIKE', ), );