woocommerce_order_subtotal_to_display, $subtotal, $compound, $this
woocommerce_order_subtotal_to_display, $subtotal, $compound, $this
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_order_subtotal_to_display, $subtotal, $compound, $this') is found 1 times:
- /includes/abstracts/abstract-wc-order.php line 2418
$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.