woocommerce_order_get_subtotal, (float

woocommerce_order_get_subtotal, (float

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_order_get_subtotal, (float') is found 1 times:

  • /includes/abstracts/abstract-wc-order.php line 598
    	 * @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