EDD_Cart::remove( int $key )
Remove from cart
Description Description
Parameters Parameters
- $key
-
(Required) Cart key to remove. This key is the numerical index of the item contained within the cart array.
Return Return
(array) Updated cart contents
Source Source
File: includes/cart/class-edd-cart.php
Changelog Changelog
Version | Description |
---|---|
2.7 | Introduced. |