woocommerce_order_subtotal_to_display

woocommerce_order_subtotal_to_display

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_order_subtotal_to_display') is found 1 times:

  • /includes/abstracts/abstract-wc-order.php line 2207
    			$subtotal = $subtotal - (float) $this->get_total_discount();
    			$subtotal = wc_price( $subtotal, array( 'currency' => $this->get_currency() ) );
    		}
    
    		return apply_filters( 'woocommerce_order_subtotal_to_display', $subtotal, $compound, $this );
    	}
    
    	/**
    	 * Gets shipping (formatted).
    	 *
    	 * @param string $tax_display Excl or incl tax display mode.