meta query multiple values for the same key
Have you tried passing an array of values to the value argument? $your_terms = array( ‘foo’, ‘bar’, ‘baz’ ); $args[‘meta_query’] = array( ‘relation’ => ‘OR’, array( ‘key’ => ‘customfields’, ‘value’ => $your_terms, ‘compare’ => ‘REGEXP’ ) ); $this_query = new WP_Query( $args );