I want to run a query base on the following $args. My question that how to pass variable number of arrays to tax_query as currently i have two arrays within tax_query it can be 1 , 3 or 5 and so on. Is there any possibility ?
$args = array ( 'posts_per_page' => 10, 'tax_query' => array( 'relation' => 'OR', array( 'taxonomy' => $Tax[0], 'field' => 'slug', 'terms' => array( $Tag ) ), array( 'taxonomy' => $Tax[1], 'field' => 'slug', 'terms' => array( $Tag ) ) ), 'order' => 'DESC' );
$args['tax_query'][] = array(...
?