This function checks if a coupon was successfully applied or not. Should be used in combination with the mycred_use_coupon function.
This function creates a new myCRED Coupon post object. Uses wp_insert_post.
This function returns a coupon object based on a coupon post ID.
This function returns the total number of times a given coupon has been redeemed on your website.
This function will generate a unique random code for coupons.
This function returns the total number of times a user has redeemed a specific coupon.
This shortcode allows your users to redeem coupons you created using the Coupons add-on.
This function will validate and a given coupon code and if the coupon can be used, redeems the coupon.