Function edd_is_discount_not_global
Check if a discount is not global
By default discounts are applied to all products in the cart. Non global discounts are applied only to the products selected as requirements
Package: EDD\Functions
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.5
Located at includes/discount-functions.php
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.5
Located at includes/discount-functions.php
Parameters summary
integer |
$code_id = 0 |
Discount ID |
Return value summary
array
|
$product_reqs IDs of the required products |