Prototyping with a LifterLMS Sample Course and the Course Generator
Use LifterLMS sample courses, the importer and the built-in course generator to prototype a course site quickly: import ready-made courses, write a…
Read articleSooner or later you will need to give someone access without a checkout. It might be a comped seat for a partner, a student who paid by invoice, or a support case where a payment went through and the enrollment did not. LifterLMS lets you manually enroll a student in a course or membership from the WordPress dashboard, with no add-on needed.
This tutorial is for site owners and LMS managers. It shows where each manual enrollment tool lives, what the Cancel, Reactivate and Delete Enrollment buttons actually do to a student's records, and why enrollments created by an order have to be managed from the order instead.
Labels and behaviour were checked against the LifterLMS 10.3 source. If you need to add dozens or hundreds of people at once, read our guide to bulk enrolling students from a CSV after this one.
Manual enrollment is controlled by two LifterLMS capabilities, enroll and unenroll. Administrators and LMS Managers have both. Instructors and Instructor's Assistants can see the student list on their own courses, but they cannot add or remove anyone. If an instructor needs that power, it is a capability change, which our guide to LifterLMS user roles and capabilities explains, including why LifterLMS resets default role capabilities on every update.
The student must already have a WordPress account. LifterLMS enrolls existing users; it does not create them from the enrollment box. Add the user under Users > Add New first, or have them register on the site.
Every published course and membership has a Student Management box on its edit screen. If you open a draft, the box only says that you must publish the post before you can manage students.
The LifterLMS documentation on manually enrolling a user in a course or membership shows the same box with screenshots.
Enrolling someone in a membership does more than add one record. Any courses on the membership's auto-enrollment list are enrolled too, and the member gains access to pages and posts restricted to that membership. Removing them later reverses this for the courses they received through the membership.
A manual enrollment runs the same code as a purchase. Engagements set to "Student enrolls in a course" or "Student enrolls in a membership" fire, so welcome emails, achievements and notifications go out, and webhooks and connected automations receive the event. That is usually what you want. If it is not, for example when you are restoring access that someone already had, pause the engagement first. The engagements and automated emails guide covers how triggers work.
The table is the quickest way to see who is in a course and why. Its columns are ID, Name, Status, Enrollment Updated, Progress, Grade, Last Lesson and Enrollment Trigger. Clicking a name opens that student in LifterLMS reporting.
The trigger column matters more than it looks. It records what created the enrollment, and LifterLMS uses it to decide who is allowed to remove it.
| Trigger shown | What created it | Where to manage it |
|---|---|---|
| Order #123 | A checkout, free or paid | On the order itself |
| Admin: Name (#ID) | Someone enrolled the student by hand | In this table |
| Other text | Code, an add-on, an automation or a membership | Wherever that tool lives |
There are three enrollment statuses: Enrolled, Cancelled and Expired. Only Enrolled gives access. Cancelled and Expired students stay in the table so you keep a history.
The action icons in the first column change with the student's situation.
Deleting an enrollment does not delete lesson completions or quiz attempts; those records are stored separately. If the student is enrolled again later, their old completions can reappear in their progress. If you need a genuinely fresh start, plan that as a separate cleanup task rather than assuming Delete does it.
For a membership, cancelling or deleting also removes the student from the courses they received through it, unless another membership still includes them. Courses they bought separately are not touched.
In most cases Cancel is the right choice. It keeps an audit trail, reporting stays accurate, and you can reverse it with one click. Use Delete for test accounts and mistakes.
When the trigger is an order, the table shows a single icon that links to the order, with the tooltip "Visit the triggering order to manage this student's enrollment". That is deliberate. A paid enrollment is tied to its order, and the order decides access when payments fail, subscriptions are cancelled or access expires.
On the order screen (the top-level Orders menu in the dashboard), the Student Enrollment box lets you choose a new status and click Update Status, or click Delete Enrollment. Either action adds an order note such as "Student enrollment status changed from Enrolled to Cancelled", which helps when a student later asks what happened.
Changing the enrollment here does not change billing. A student you set to Cancelled on an active subscription will still be charged next month. To stop payments, change the order status instead. Our guide to managing LifterLMS orders and statuses explains which order statuses remove access and which keep it.
The reverse is also true. Reactivating an order-based student from the course's Student Management table creates an admin enrollment that no longer follows the order. If the order later expires, that admin enrollment can stay active. When you want to restore paid access, do it from the order's Student Enrollment box so the order trigger is kept.
Developers can do the same thing with LifterLMS's own functions, which fire the same hooks and engagements as the dashboard. A common case is enrolling someone when a form is submitted or a CRM deal closes.
<?php
/**
* Enroll a user in a course and record who did it.
* Returns true on success, false if already enrolled or not possible.
*/
function llmsx_grant_course( $user_id, $course_id ) {
$trigger = 'admin_' . get_current_user_id();
return llms_enroll_student( $user_id, $course_id, $trigger );
}
/**
* Cancel any enrollment in a course, regardless of its trigger.
* Progress is kept; the status becomes "cancelled".
*/
function llmsx_revoke_course( $user_id, $course_id ) {
return llms_unenroll_student( $user_id, $course_id, 'cancelled', 'any' );
}
// React to every enrollment created or reactivated.
add_action( 'llms_user_enrolled_in_course', function ( $user_id, $course_id ) {
error_log( sprintf( 'User %d enrolled in course %d', $user_id, $course_id ) );
}, 10, 2 );
The fourth argument of llms_unenroll_student() is the trigger to match. Passing a specific trigger such as 'admin_5' removes the student only if that is what enrolled them, which is the safe choice for integrations that should never undo a paid enrollment. llms_delete_student_enrollment() takes the same arguments and deletes instead of cancelling. For external systems, the REST API enrollment guide shows the same operations over HTTP.
Yes. Manual enrollment does not need an access plan, an order or a price. It is how many sites handle invoiced and complimentary seats.
No. Cancel keeps everything. Delete Enrollment removes the enrollment records but leaves lesson completions and quiz attempts in the database.
Not from the Student Management box. Expiration belongs to access plans and orders. For a time-limited comp, create a free hidden access plan with an expiration and send the student the plan link, as described in our article on LifterLMS access expiration.
Only if you have an engagement or notification configured for enrollment. LifterLMS does not send a separate "you have been enrolled by an admin" message.
Decide on a rule for your team: manual enrollments for comps and invoiced customers, order-based enrollments for everything that is paid online, and Cancel rather than Delete unless it is a test account. Write it down, because most access problems we see come from two people using different tools on the same student.
If you need enrollment to follow another system automatically, such as HR software, a CRM or a booking tool, that is an integration job rather than a manual one. Our LifterLMS integrations service builds those links with the right triggers, and you can tell us how your students get access today to get a recommendation.
Use LifterLMS sample courses, the importer and the built-in course generator to prototype a course site quickly: import ready-made courses, write a…
Read article
A design-focused guide to the LifterLMS certificate builder in the block editor: page size, orientation, margins, background images, fonts, layout…
Read article
A complete reference to LifterLMS certificate merge codes: what each one inserts, where the value comes from, when it is filled in, how to format…
Read articleSkip the trial and error. Get specialist LifterLMS help and ship faster.