edd_get_discount_excluded_products( int $code_id = null )
Retrieve the products the discount canot be applied to.
Description Description
Parameters Parameters
- $code_id
-
(Optional) Discount ID.
Default value: null
Return Return
(array) $excluded_products IDs of the required products.
Source Source
File: includes/discount-functions.php
Changelog Changelog
| Version | Description |
|---|---|
| 2.7 | Updated to use EDD_Discount object. |
| 1.9 | Introduced. |