mycred_get_global_coupon_count
This function returns the total number of times a given coupon has been redeemed on your website.
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 returns an array of published badge IDs.
This function returns an array badge IDs that a given user has earned.
This function will return an associative array of references and badge IDs that exists on your website.
This function returns the myCRED Badge Object for a given badge ID.
This function is used throughout myCRED to prevent users from attempting to submit AJAX forms multiple times.
This function will convert a well formatted date to a GMT unix timestamp.
This function will return the requirements you set for a particular badge in readable format.
This function renders a list of all the badges a give user has earned.
Returns a given users current balance for a specific point type formatted.
This function checks if a coupon was successfully applied or not. Should be used in combination with the mycred_use_coupon function.
This function counts the number of users that has not earned a given badge.
This function counts the number of users that has a given badge with the option to count badge level.
This function will validate and a given coupon code and if the coupon can be used, redeems the coupon.