WP_Meta_Query Generator July 19, 2018 Public Antonio Carreira Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone Livrar Proprietario $meta_query = array( array( 'key' => 'proprietario', 'value' => '$user->ID', 'compare' => '=', ), );