Signed in users can redeem group or course codes from anywhere on a LearnDash site by using the Redemption shortcode or block. Adding this shortcode or block to a page will add a single text field that accepts the input of a code generated with the plugin. We generally use this on learner dashboard pages as an easy way to add additional access for a user.
[uo_user_redeem_code redirect="" check_only="no"]
Block Name: User Redeem Code
The check_only attribute is also optional; when set to “yes”, the system will check to see whether or not a code is valid or redeemed and will not redeem it. It is only a check of the code’s current status. Codes will be confirmed as either invalid, redeemed, available or expired.
Access Removal Shortcode
To remove access, the plugin also includes a Access Removal shortcode. This shortcode adds a button that, when clicked, removes all access to courses and groups for the user. This button should be used very carefully.