EDD_Cart::is_item_in_cart( int $download_id, array $options = array() )
Checks to see if an item is in the cart.
Description Description
Parameters Parameters
- $download_id
-
(Required) Download ID of the item to check.
- $options
-
(Optional)
Default value: array()
Return Return
(bool)
Source Source
File: includes/cart/class-edd-cart.php
Changelog Changelog
Version | Description |
---|---|
2.7 | Introduced. |