edd_pre_update_discount_status
Action Hook: Fires before the status of the discount is updated.
Source: includes/class-edd-discount.php:1403
Action Hook: Fires before the status of the discount is updated.
Source: includes/class-edd-discount.php:1403
Action Hook: Fires after the status of the discount is updated.
Source: includes/class-edd-discount.php:1421
Method: Check if the discount has started.
Source: includes/class-edd-discount.php:1438
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
Method: Update an existing discount in the database.
Source: includes/class-edd-discount.php:1278