edd_get_item_position_in_cart( int $download_id, array $options = array() )
Get the Item Position in Cart
Description Description
Parameters Parameters
- $download_id
-
(Required) ID of the download to get position of
- $options
-
(Optional) array of price options
Default value: array()
Return Return
(bool|int|string) false if empty cart | position of the item in the cart
Source Source
File: includes/cart/functions.php
Changelog Changelog
Version | Description |
---|---|
1.0.7.2 | Introduced. |