LifterLMS Security Checklist: Hardening Your Course Site
A practical LifterLMS security checklist covering updates, captcha and spam protection at checkout, roles, payment gateways, API keys, protected…
Read articleSelling a course with twelve months of access, or a bootcamp that closes on a fixed date, depends on one setting: Access Expiration on the access plan. It is simple to set and easy to misunderstand, because it touches enrollment, billing and what the student sees on their dashboard all at once.
This article explains exactly how LifterLMS access expiration works in version 10.x: how the end date is calculated, what runs when it arrives, what the student and the admin see afterwards, and how to extend or restore access without creating a second problem.
It assumes you know what an access plan is. If not, read LifterLMS memberships and access plans explained first.
In the Expiration Settings section of every access plan, the Access Expiration field has three choices. The help text in the editor sums it up: "Define if and when the access to the plan expires."
| Option | Extra fields | Access ends | Shown on the pricing table as |
|---|---|---|---|
| Lifetime Access | None | Never, unless the order is cancelled, refunded or fails | Nothing extra |
| Expires after | Access Length and Access Period (days, weeks, months or years) | A set time after each student's purchase | "12 months of access", for example |
| Expires on | Expiration Date | On the same calendar date for everyone | "access until" the date |
The setting works the same on free and paid plans, and on course and membership plans. It is independent of billing: the Plan Length field decides how many payments are taken, and Access Expiration decides how long access lasts. LifterLMS's access plan options documentation lists every field on the plan.
When someone checks out, LifterLMS copies the plan's expiration settings onto their order. From then on, the order is what counts. Editing the plan later changes the terms for new buyers only; students who already bought keep the expiration they bought with.
The calculated date is stored on the order, and a scheduled action is queued to run at that moment. Scheduled actions depend on WordPress cron. If cron is not running on your host, expirations happen late, or only when someone visits the site. Our article on LifterLMS cron problems explains how to check.
When the scheduled action runs, LifterLMS does four things:
The order itself is not deleted, and on one-time orders its status is left as it was. In the Orders list, the Access Status column shows the access has expired while the Payment Status still shows the payment. That distinction helps when you reconcile payments against access.
Nothing is erased from the student's record. Lesson completions, quiz attempts, grades, certificates and achievements stay. If the student buys again, their progress is waiting for them.
The same machinery handles a cancelled subscription. When a student clicks Cancel Subscription on an active order, the order moves to Pending Cancellation and LifterLMS sets the access expiration to the next payment date. They keep access for the period they paid for. When that date arrives, the order becomes Cancelled and the enrollment is set to Cancelled rather than Expired. Our guide to refunds and cancellations covers this flow in detail.
Before access ends, the student can check their end date in two places on the student dashboard:
LifterLMS does not send an "access ending soon" reminder in core. If you want one, build it with an email marketing tool or a small piece of code; there is an example below.
After access ends:
Because the pricing table returns automatically, a renewal offer can be as simple as a hidden access plan at a returning-student price, linked from your renewal email.
LifterLMS reschedules the expiration and adds a note such as "Access expiration date changed from ... to ...". The date picker does not accept dates in the past.
The editable date only appears while the student is enrolled, so restoring takes two steps on the same order:
Avoid restoring access with the Reactivate button on the course's Student Management table. That creates an admin enrollment that no longer follows the order, so it will not expire again. Our guide to manual enrollment explains why the trigger matters.
This snippet sends the student a renewal link at the moment a course enrollment expires. It hooks into the action LifterLMS fires whenever a student is removed from a course and checks that the new status is Expired, so cancellations and refunds are ignored.
<?php
add_action( 'llms_user_removed_from_course', 'llmsx_send_renewal_email', 10, 4 );
function llmsx_send_renewal_email( $user_id, $course_id, $trigger, $new_status ) {
// Only automatic expirations from an order.
if ( 'expired' !== $new_status || 0 !== strpos( (string) $trigger, 'order_' ) ) {
return;
}
$user = get_userdata( $user_id );
if ( ! $user ) {
return;
}
$subject = sprintf( 'Your access to %s has ended', get_the_title( $course_id ) );
$message = sprintf(
"Hi %s,\n\nYour access to %s has ended. Your progress and certificates are saved.\nRenew here: %s\n",
$user->first_name ? $user->first_name : $user->display_name,
get_the_title( $course_id ),
get_permalink( $course_id )
);
wp_mail( $user->user_email, $subject, $message );
}
For a reminder before expiry, schedule your own action for a set number of days before the date stored on the order, or tag the student in your CRM at purchase and let the CRM send the sequence. The email marketing funnel guide has the second approach.
No. Progress, grades and certificates stay. Only the enrollment status changes.
No. A membership plan's expiration applies to the membership, and its auto-enrolled courses end with it. Give a course its own plan if it needs its own term.
Yes, by default the remaining payments are unscheduled. Developers can change this with the llms_unschedule_recurring_payment_on_access_plan_expiration filter.
Yes, in Order History on the student dashboard and on the individual order page.
List every plan you sell and write next to it how long access lasts and how many payments it takes. If any line surprises you, fix the plan now; existing orders will keep their terms, new ones will get the corrected ones. Then decide how you will win back expired students, because the pricing table reappearing is an opportunity, not just a lock.
If you need rules LifterLMS does not offer, such as grace periods, access that pauses, or renewals that extend the existing order instead of creating a new one, that is LifterLMS customization work. Tell us how your access terms should behave and we will scope it.
A practical LifterLMS security checklist covering updates, captcha and spam protection at checkout, roles, payment gateways, API keys, protected…
Read article
How the LifterLMS prevent concurrent logins setting works, who it should apply to, how to exempt specific users, and the other measures that make…
Read article
What LifterLMS does when a student finishes a course, how to set a global or per-course completion page, what to put on it, and how to make the last…
Read articleSkip the trial and error. Get specialist LifterLMS help and ship faster.