woocommerce_order_amount_item_subtotal

woocommerce_order_amount_item_subtotal

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_order_amount_item_subtotal') is found 1 times:

  • /includes/abstracts/abstract-wc-order.php line 2043
    2040
    2041
    2042
    2043
    2044
    2045
    2046
    2047
    2048
    2049
            $subtotal = $round ? NumberUtil::round( $subtotal, wc_get_price_decimals() ) : $subtotal;
        }
     
        return apply_filters( 'woocommerce_order_amount_item_subtotal', $subtotal, $this, $item, $inc_tax, $round );
    }
     
    /**
     * Get line subtotal - this is the cost before discount.
     *
     * @param object $item Item to get total from.