woocommerce_order_get_subtotal

woocommerce_order_get_subtotal

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_order_get_subtotal') is found 1 times:

  • /includes/abstracts/abstract-wc-order.php line 508
    	 * @return float
    	 */
    	public function get_subtotal() {
    		$subtotal = NumberUtil::round( $this->get_cart_subtotal_for_order(), wc_get_price_decimals() );
    		return apply_filters( 'woocommerce_order_get_subtotal', (float) $subtotal, $this );
    	}
    
    	/**
    	 * Get taxes, merged by code, formatted ready for output.
    	 *
    	 * @return array