woocommerce_order_amount_line_total

woocommerce_order_amount_line_total

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_order_amount_line_total') is found 1 times:

  • /includes/abstracts/abstract-wc-order.php line 2113
    2109
    2110
    2111
    2112
    2113
    2114
    2115
    2116
    2117
    2118
    2119
            // Check if we need to round.
            $total = $round ? NumberUtil::round( $total, wc_get_price_decimals() ) : $total;
        }
     
        return apply_filters( 'woocommerce_order_amount_line_total', $total, $this, $item, $inc_tax, $round );
    }
     
    /**
     * Get item tax - useful for gateways.
     *
     * @param mixed $item Item to get total from.