edd_update_discount
Filter Hook: Filter the data being updated
Source: includes/class-edd-discount.php:1289
Filter Hook: Filter the data being updated
Source: includes/class-edd-discount.php:1289
Method: Build the base of the discount.
Source: includes/class-edd-discount.php:1052
Method: Once object variables has been set, an update is needed to persist them to the database.
Source: includes/class-edd-discount.php:1132
Action Hook: Fires after each meta update allowing developers to hook their own items saved in $pending.
Source: includes/class-edd-discount.php:1181
Method: Create a new discount. If the discount already exists in the database, update it.
Source: includes/class-edd-discount.php:1195
Filter Hook: Filters the metadata before being inserted into the database.
Source: includes/class-edd-discount.php:1219
Action Hook: Fires before the discount has been added to the database.
Source: includes/class-edd-discount.php:1228
Action Hook: Fires after the discount code is inserted.
Source: includes/class-edd-discount.php:1261
Method: Update an existing discount in the database.
Source: includes/class-edd-discount.php:1278
Method: Retrieve the usage limit per limit (if the discount can only be used once per customer).
Source: includes/class-edd-discount.php:979