edd_item_in_cart( int $download_id, array $options = array() )
Checks to see if an item is already in the cart and returns a boolean
Description Description
Parameters Parameters
- $download_id
-
(Required) ID of the download to remove
- $options
-
(Optional)
Default value: array()
Return Return
(bool) Item in the cart or not?
Source Source
File: includes/cart/functions.php
Changelog Changelog
Version | Description |
---|---|
1.0 | Introduced. |