Make Tutor LMS course completions expire, with reminders
Tutor LMS has no expiry for completions. Our free Recertify for Tutor LMS plugin expires them after a set number of days, sends reminders, then resets the course.
Short answer: Tutor LMS can expire an enrolment, but not a completion. Our free WordPress plugin, Recertify for Tutor LMS, makes a course completion expire after the number of days you choose. Learners get reminders before (for example 30 and 7 days), then their progress in that course is reset and they are emailed to take it again. It keeps a record of every past certification.
This is our first plugin outside Moodle, and the WordPress version of our recertification plugin for Moodle. Mandatory courses that must be renewed (fire safety, first aid, safeguarding, data protection) need the same thing on every LMS. A Tutor LMS user asked for exactly this on the WordPress.org forum: a certificate that expires one year after completion, with a reminder before it does. The only add-on we found that sets a certificate expiry, Certificate Verify & Share, needs Tutor LMS Pro, marks the certificate as expired, and sends no reminders.
What it does
- Per course: how many days a completion stays valid, and the reminder days.
- Once a day: each learner gets the nearest reminder that applies, once, even if the site’s cron missed days. Then completions that expired are reset.
- The reset uses Tutor LMS’s own “reset progress”, so it removes the completion, completed lessons and quiz attempts for that course only. The learner stays enrolled.
- A status page under Tutor LMS > Recertify: every course with its counts, and per course each learner as valid, expiring soon, reset at next run, or not completed.
- Safe on old courses: at most 200 resets a day, oldest first, so switching it on for a course with years of completions spreads the work.
- Privacy: past certifications are part of WordPress’s personal data export and erasure.
What it does not do
It does not touch courses you have not set up. It is tested with Tutor LMS 4.2.4 free, not yet with Pro: Tutor uses the completion for the certificate link, so we expect an old certificate link to stop working after a reset, and the learner gets a new certificate when they finish again. It needs WP-Cron or a real cron job.
The code and the install zip are on GitHub.
How Tutor LMS stores a completion
- Tutor LMS stores each course completion as a row in WordPress’s comments table, with type
course_completed. The row’s date is the completion date, and its content is the id the Pro certificate uses. - Tutor has a public function,
delete_course_progress(), that removes that row, the learner’s completed lessons and their quiz attempts for one course. It also fires an action, so Pro add-ons such as assignments can reset their part. - Tutor caches “is this learner enrolled” for the whole page load, including a “no” taken before the enrolment existed. The plugin reads enrolments from the database directly so one daily run never acts on a stale answer.
- We test it with the WordPress test suite and Tutor LMS loaded (33 tests: reminders, expiry, quiz attempts with Tutor’s auto-complete on, learners who left, emails that fail, privacy), and in Chrome with Playwright and axe accessibility checks: an admin sets up a course and the expired learner is reset.
Need a plugin like this for your own Moodle?
Describe it in DevLMS Studio and watch it built and tested in a real Moodle, or ask our team for a fixed price.
Open DevLMS Studio