EDD_Cart::get_item_quantity( int $download_id, array $options = array() )
Get the quantity of an item in the cart.
Description Description
Parameters Parameters
- $download_id
-
(Required) Download ID of the item
- $options
-
(Optional)
Default value: array()
Return Return
(int) Numerical index of the position of the item in the cart
Source Source
File: includes/cart/class-edd-cart.php
Changelog Changelog
Version | Description |
---|---|
2.7 | Introduced. |