WP_Meta_Query Generator March 3, 2023 Public Luuk Faasse Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone Untitled Snippet $meta_query = array( 'relation' => 'AND', array( 'key' => 'user_id', 'value' => 'ID', ), );