WC_Abstract_Order::get_subtotal()
Gets order subtotal.
Description Description
Return Return
(float)
Source Source
File: includes/abstracts/abstract-wc-order.php
public function get_subtotal() { $subtotal = round( $this->get_cart_subtotal_for_order(), wc_get_price_decimals() ); return apply_filters( 'woocommerce_order_get_subtotal', (float) $subtotal, $this ); }