Search product by brand name in wp_query
Founded: $filter_group_a = array( ‘relation’ => ‘OR’, array( ‘taxonomy’ => ‘product_cat’, ‘field’ => ‘term_id’, ‘terms’ => 18, ), array( ‘taxonomy’ => ‘product_cat’, ‘field’ => ‘term_id’, ‘terms’ => 25, ), ); $filter_group_b = array( array( ‘taxonomy’ => ‘product_brand’, ‘field’ => ‘description’, ‘value’ => $tmp, ), ); $args = array( ‘post_type’ => ‘product’, ‘s’ => $tmp, ‘posts_per_page’ … Read more