WC_Cart::get_subtotal()
Get subtotal.
Description Description
Return Return
(float)
Source Source
File: includes/class-wc-cart.php
public function get_subtotal() { return apply_filters( 'woocommerce_cart_' . __FUNCTION__, $this->get_totals_var( 'subtotal' ) ); }
Changelog Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |