product ebooks query
// WP_Query arguments $args = array( 'post_type' => array( 'product' ), 'tax_query' => array( 'relation' => 'AND', array( 'taxonomy' => 'product_cat', 'terms' => 'ebooks', ), ), ); // The Query $query = new WP_Query( $args );
// WP_Query arguments $args = array( 'post_type' => array( 'product' ), 'tax_query' => array( 'relation' => 'AND', array( 'taxonomy' => 'product_cat', 'terms' => 'ebooks', ), ), ); // The Query $query = new WP_Query( $args );