Enrollment Code Management
Create shareable codes that students use to enroll themselves in courses or groups. Manage your codes under My Dashboard > Bulk Management > Codes.
Who Can Use This
Section titled “Who Can Use This”| Role | What You Can Access |
|---|---|
| Administrator | All courses and groups, and every code on the site |
| Instructor | Codes for your own courses; you see and manage only the codes you created |
| Group Leader | Codes for the groups you lead; you see and manage only the codes you created |
Generating Codes
Section titled “Generating Codes”Step 1: Choose a Course or Group
Section titled “Step 1: Choose a Course or Group”- Go to My Dashboard > Bulk Management.
- Click the Codes tab.
- In the Generate Enrollment Codes section, select the course(s) and/or group(s) you want the codes to unlock.
Step 2: Set Your Options
Section titled “Step 2: Set Your Options”| Option | Description |
|---|---|
| Number of Codes | How many codes to generate (1–500 at a time) |
| Code Prefix | Optional label added to the start of each code, for example SPRING2026 (up to 20 characters) |
| Expiry Date | Optional date after which the codes stop working |
| Max Uses Per Code | Single use (one student per code), multi-use (set a specific number), or unlimited |
Step 3: Generate and Share
Section titled “Step 3: Generate and Share”Click Generate Codes. Your new codes appear instantly in the Generated Codes panel. Click Copy All to copy the full list to your clipboard, ready to paste into an email or spreadsheet.
Share a Signup Link
Section titled “Share a Signup Link”Every active code has a signup link, so students do not have to find a redemption page or type the code. Click the link icon in the code’s Actions column to copy it (the CSV export includes it too).
What happens when someone opens the link:
| Visitor | What they see |
|---|---|
| New to your site | Your registration page, with a note naming the course or group they are about to join. After they create their account they are enrolled at once, the welcome email says what they joined, and their first login lands on the dashboard with a confirmation. |
| Already has an account, logged out | The same page. They click Log in instead, and are enrolled when they log in. |
| Already logged in | Enrolled straight away and taken to the dashboard with a confirmation. |
| Code expired, used up or deactivated | A clear message explaining why, and no enrollment. |
The link works with the WordPress registration page and with registration forms from BuddyPress, LearnDash, WooCommerce and similar plugins, because enrollment happens when the account is created.
New visitors can only sign up if registration is turned on in Settings > General > Membership. When it is off, the Codes screen reminds you, and the link still works for people who already have an account.
Developers can change the link with the ld_dashboard_enrollment_code_signup_url filter.
Managing Your Codes
Section titled “Managing Your Codes”The Existing Codes table lists all codes you have access to.
| Column | What It Shows |
|---|---|
| Code | The unique code string |
| Course / Group | The course or group the code unlocks |
| Uses | How many times it has been used vs. the limit |
| Expires | The expiry date, or blank if none |
| Status | Active, Exhausted, or Inactive |
| Actions | Deactivate (lock icon), copy the signup link (link icon), or view who redeemed it (eye icon) |
Filter by Batch
Section titled “Filter by Batch”Use the All Batches dropdown to view only codes from a specific generation batch.
Deactivating a Code
Section titled “Deactivating a Code”Click the lock icon (Deactivate) on any active code to stop it from working immediately. This cannot be undone from the dashboard.
Viewing Who Used a Code
Section titled “Viewing Who Used a Code”Click the eye icon on any code to see which students redeemed it and when.
Exporting Your Codes
Section titled “Exporting Your Codes”Click Export CSV to download all visible codes as a spreadsheet. Apply the batch filter first to export only a specific batch.
How Students Redeem Codes
Section titled “How Students Redeem Codes”Students can open the code’s signup link (see above), or enter the code on a redemption page. Your site administrator can add the redemption form to any page with the [ld_enrollment_code_redeem] shortcode; it is shown to logged-in users. Once a student submits a valid code, they are enrolled in the linked course or group.
Code Status Reference
Section titled “Code Status Reference”| Status | Meaning |
|---|---|
| Active | Valid and ready for students to use, unless its expiry date has passed |
| Exhausted | The code has reached its maximum number of uses |
| Inactive | Deactivated by you; no longer redeemable |

