EDD_Discount::is_product_requirements_met( bool $set_error = true )
Are the product requirements met for the discount to hold.
Description Description
Parameters Parameters
- $set_error
-
(Optional) Whether an error message be set in session.
Default value: true
Return Return
(bool) Are required products in the cart?
Source Source
File: includes/class-edd-discount.php
Changelog Changelog
Version | Description |
---|---|
2.7 | Introduced. |