woocommerce_order_amount_line_subtotal, $subtotal, $this, $item, $inc_tax, $round
woocommerce_order_amount_line_subtotal, $subtotal, $this, $item, $inc_tax, $round
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_order_amount_line_subtotal, $subtotal, $this, $item, $inc_tax, $round') is found 1 times:
- /includes/abstracts/abstract-wc-order.php line 2257
$subtotal = $round ? NumberUtil::round( $subtotal, wc_get_price_decimals() ) : $subtotal; } return apply_filters( 'woocommerce_order_amount_line_subtotal', $subtotal, $this, $item, $inc_tax, $round ); } /** * Calculate item cost - useful for gateways. * * @param object $item Item to get total from.