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()


Top ↑

Return Return

(bool) Item in the cart or not?


Top ↑

Source Source

File: includes/cart/functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.