mycred_get_users_coupon_count
This function returns the total number of times a user has redeemed a specific coupon.
This function returns the total number of times a user has redeemed a specific coupon.
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 a coupon object based on a coupon post ID.
This function will validate and a given coupon code and if the coupon can be used, redeems the coupon.
This function creates a new myCRED Coupon post object. Uses wp_insert_post.