edd_get_cart_item_price( int $download_id, array $options = array(), bool $remove_tax_from_inclusive = false )
Get Cart Item Price
Description Description
Gets the price of the cart item. Always exclusive of taxes
Do not use this for getting the final price (with taxes and discounts) of an item. Use edd_get_cart_item_final_price()
Parameters Parameters
- $download_id
-
(Required) Download ID number
- $options
-
(Optional) parameters, used for defining variable prices
Default value: array()
- $remove_tax_from_inclusive
-
(Optional) Remove the tax amount from tax inclusive priced products.
Default value: false
Return Return
(float|bool) Price for this item
Source Source
File: includes/cart/functions.php
Changelog Changelog
Version | Description |
---|---|
1.0 | Introduced. |