Function edd_store_discount
Stores a discount code. If the code already exists, it updates it, otherwise it creates a new one.
Package: EDD\Functions
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.0
Used by:
Located at includes/discount-functions.php
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.0
Used by:
edd_add_discount()
Located at includes/discount-functions.php
Parameters summary
string |
$details |
|
integer |
$discount_id = null |
Return value summary
boolean
|
Whether or not discount code was created |