WP_Meta_Query Generator August 2, 2021 Public Jordi Suriol Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone color2 $color = array( 'relation' => 'AND', array( 'key' => 'color', 'value' => 'red', 'compare' => '=', ), );