edd_maybe_remove_cart_discount( int $cart_key )
Checks whether discounts are still valid when removing items from the cart
Description Description
If a discount requires a certain product, and that product is no longer in the cart, the discount is removed
Parameters Parameters
- $cart_key
-
(Required)
Source Source
File: includes/discount-functions.php
Changelog Changelog
Version | Description |
---|---|
1.5.2 | Introduced. |