WC_Abstract_Order::get_subtotal()

Gets order subtotal.


Description Description


Return Return

(float)


Top ↑

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 );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.