title: Woocommerce Exclude Tax from Checkout Subtotal
body: <p>I am using the hook below to currently exclude tax from the subtotal on the shopping cart. But changing out cart with checkout is not in the docs. </p>
  
  <p>How can I exclude the tax from the Checkout page Subtotal?</p>
  
  <p>Thanks.</p>
  
  <pre><code>add_filter( 'woocommerce_cart_product_subtotal', 'exclude_tax_cart_product_subtotal', 15, 4 );
  function exclude_tax_cart_product_subtotal( $product_subtotal, $_product, $quantity, $object ) {
      $row_price  = $_product-&gt;get_price_excluding_tax( $quantity );
      $ex_tax = wc_price( $row_price );
      return $ex_tax;
  }
  </code></pre>