Function edd_get_discount_id_by_code
Get Discount By Code
Retrieves a discount code ID from the code.
Package: EDD\Functions
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.0
Located at includes/discount-functions.php
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.0
Located at includes/discount-functions.php
Parameters summary
mixed |
$code |
string The discount code to retrieve an ID for |
Return value summary
integer
|