do_action( 'edd_setup_discount', object )
Fires after the instance of the EDD_Discount object is set up. Allows extensions to add items to this object via hook.
Description Description
Parameters Parameters
-
WP_Post $discount WP_Post instance of the discount object.
Source Source
File: includes/class-edd-discount.php
Changelog Changelog
Version | Description |
---|---|
2.7 | Introduced. |