WP_Meta_Query Generator January 27, 2020 Public Chantelle Otto Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone swap group match $meta_query = array( array( 'key' => 'swap_' . $gid . '_group', 'value' => '$userswapgroup', ), );