EDD_Cart::get_item_tax( array $download_id, array $options = array(), float $subtotal = '' )

Calculate the tax for an item in the cart.


Description Description


Parameters Parameters

$download_id

(Required) Download ID

$options

(Optional) Cart item options

Default value: array()

$subtotal

(Optional) Cart item subtotal

Default value: ''


Top ↑

Return Return

(float) Tax amount


Top ↑

Source Source

File: includes/cart/class-edd-cart.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.7 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.