EDD_Discount::setup_discount()
Method: Setup object vars with discount WP_Post object.
Source: includes/class-edd-discount.php:393
Method: Setup object vars with discount WP_Post object.
Source: includes/class-edd-discount.php:393
Action Hook: Fires before the instance of the EDD_Discount object is set up.
Source: includes/class-edd-discount.php:424
Action Hook: Fires after the instance of the EDD_Discount object is set up. Allows extensions to add items to this object via hook.
Source: includes/class-edd-discount.php:461
Method: Setup the name of the discount.
Source: includes/class-edd-discount.php:478
Method: Magic __set method to dispatch a call to update a protected property.
Source: includes/class-edd-discount.php:267
Method: Magic __isset method to allow empty checks on protected elements
Source: includes/class-edd-discount.php:295
Method: Converts the instance of the EDD_Discount object into an array for special cases.
Source: includes/class-edd-discount.php:310
Method: Find a discount in the database with the code supplied.
Source: includes/class-edd-discount.php:323
Class: EDD_Discount Class
Source: includes/class-edd-discount.php:20
Method: Constructor.
Source: includes/class-edd-discount.php:216