Course Access Extender for LearnDash
Let students buy extra days of LearnDash course access through WooCommerce, and manage every student's expiry date from one dashboard.
Install in
Course Access Extender for LearnDash lets your students buy more time on a LearnDash course through WooCommerce. It also gives you a simple dashboard to see who is enrolled, when their access ends, and what they have bought.
Disclaimer: This is an independent plugin. It is not affiliated with, endorsed by, or sponsored by LearnDash or its parent company. “LearnDash” is a trademark of its owner. This plugin is simply built to work alongside the LearnDash LMS plugin.
The problem it solves
Out of the box, if a student buys a course extension while their access is still active, LearnDash does not add the new days to the time they have left. Their access is either reset or the purchase is ignored.
This plugin fixes that. When the order comes in, it takes the student’s current expiry date and adds the extension days on top of it, so nobody loses the days they already paid for.
Example: A student has 30 days left and buys a 90-day extension. They now have 120 days of access.
If the student’s access has already run out, they simply get a fresh 90 days starting from the day they buy.
Students dashboard
The Students tab under WooCommerce > Course Access Extender shows every enrolled student in one table. You can:
- See each student’s course, enrollment date, expiry date, days left, and whether their access is Active or Expired.
- Filter the list by course, status, how soon access expires, or enrollment date, and search by name or email.
- Sort by student name or expiry date.
- Change any student’s expiry date right from the table using a date picker.
- Open a student’s purchase history in a popup to see all their course orders, including dates, products, quantities, totals, and order status.
Reports and CSV export
- Export to CSV from the Students tab. The file holds every student that matches your filters (all pages), with enrollment date, expiry, days left, status and their extension purchases.
- A Reports tab shows who has access now, who expires in the next 7 and 30 days, extension orders and revenue for any date range, renewals versus re-activations, a 12-month trend, a per-course summary and the students expiring soon.
- Export the sales, the course summary and the expiring list to CSV.
Refunds, guests and variations
- Optional: take back exactly the days an order added when it is refunded or cancelled (partial refunds by quantity).
- Optional: add the days as soon as an order is Processing.
- Optional: match guest orders to an existing account by billing email.
- Variable products can set different Access Days per variation.
Activity log
Every change is recorded: new access, extensions, expiry dates changed by an admin, and enrollment dates edited on a user’s profile. You can filter the log by course, action type, keyword, or date range.
Requirements
- WordPress 6.0 or newer
- WooCommerce 7.0 or newer
- LearnDash LMS 4.0 or newer
- PHP 7.4 or newer
Written by Joobi from the project's own listing. See the source page
1.2.2
- Fixed: Changing an expiry date on the Students tab after a student bought an extension no longer saves the moved date as the student’s enrollment date.
- Fixed: Reports revenue now subtracts refunds made by amount only (the usual “Refund” button without line quantities). Fully refunded orders count as 0, and partial amount refunds are shared across the order’s lines by value.
1.2.1
- Fixed: Purchase history now shows course products linked through LearnDash’s WooCommerce integration (“Main Course” rows were missing).
- Fixed: Buying an extension for a course with no access expiry no longer changes the student’s enrollment date. The student keeps unlimited access and the log says so.
- Fixed: Courses whose “Course access expiration” is off in LearnDash are now treated as no-expiry everywhere, matching LearnDash.
- Fixed: “Enrolled Since” on the Students tab, in filters and in exports keeps the original enrollment date after a checkout extension.
- Fixed: LearnDash enrolling a buyer at checkout no longer creates a false “Profile updated” log entry or resets the enrollment date.
- Fixed: An order can no longer be extended twice when two requests arrive at the same moment.
- Fixed: The log table update routine can now add new columns in future versions.
- Fixed: The one-time settings migration no longer replaces current settings with old values.
- Fixed: Expiry dates can no longer be set on courses without an expiry (the date would not be enforced).
- Fixed: Clearing the activity log no longer repeats when the page is refreshed.
- Fixed: Shop Managers can now save the Settings tab.
- Improved: The Students tab and Reports load much faster with many students.
- Added (off by default): “Apply on Processing”, “Take Back Days on Refund” and “Match Guest Orders by Email” under Settings > Orders.
- Added: Access Days per variation for variable extension products.
- No existing data is deleted or changed by this update.
1.2.0
- Added: “Export to CSV” on the Students tab. It exports every student matching the current filters, including extension purchases per student.
- Added: Reports tab with access status cards, extension sales for a date range (after refunds), renewal versus re-activation split, a 12-month trend, a per-course table and the students expiring in the next 30 days.
- Added: CSV exports for extension sales, the course summary and the expiring list.
- Security: exports need the Manage WooCommerce capability and a valid link, and spreadsheet formulas in names are exported as plain text.
- No existing data or settings are changed. Report numbers are cached for 5 minutes and refresh after each extension.
1.1.6
- Fixed: Saving the Settings tab did not save your values. It also reset every setting to 0, which turned off logging and could make an extension add 0 days. Settings now save correctly.
- Fixed: Sites already affected get their settings restored automatically on update, and a notice asks you to review them.
- Fixed: A paid extension can no longer add 0 days. If no days are set anywhere, 90 days are used.
- Fixed: The Course Extension fields on the product screen now show and hide with the checkbox.
- Fixed: Products and student date changes saved before version 1.1.2 work again, and old orders are never extended twice.
- Fixed: Days left, Active/Expired status, and dates on the Students tab now follow your site’s timezone.
- Fixed: Setting an expiry date works on sites that use a manual UTC offset, and bad dates show an error instead of failing.
- Fixed: Activity Log date filters now match the dates shown in the table.
- Fixed: Sorting or paging the Students table no longer drops the “Expiring within” and enrollment date filters.
- Fixed: Order links work when WooCommerce High-Performance Order Storage is turned on. The plugin now declares HPOS compatibility.
- Improved: Purchase history shows each product’s own total instead of the whole order total, and includes on-hold orders.
- Improved: The Settings tab now confirms when your changes are saved.
- Improved: Updates now run a safe, one-time upgrade step. It only copies or repairs data and never deletes anything.
1.1.5
- Changed: The admin tabs are now ordered Students, Activity Log, Settings. The Students tab opens by default.
- Changed: The Settings link on the Plugins screen now opens the Settings tab directly.
- Updated: Rewrote the plugin description and FAQ in plainer language.
1.1.4
- Fixed: Purchasing a Course Extension after access had already expired granted double the days (e.g. 180 instead of 90) when the product was also linked to the course in LearnDash’s WooCommerce settings. The student’s pre-purchase expiry is now snapshotted before LearnDash re-enrolls them.
- Fixed: Checkout extensions now use a true UTC timestamp for “now”, so fresh grants are no longer shifted by the site’s timezone offset.
1.1.2
- Renamed: Plugin renamed to “Course Access Extender for LearnDash” for WordPress.org trademark compliance.
- Updated: All internal prefixes changed from ldce_ to cael_ throughout.
- Updated: Text domain updated to course-access-extender-for-learndash.
- Fixed: All Plugin Check warnings resolved for WordPress.org submission.
- Fixed: Logger queries use esc_sql() with documented phpcs suppressions.
- Fixed: uninstall.php global variables correctly prefixed.
- Fixed: load_plugin_textdomain() removed (auto-loaded since WP 4.6).
- Added: index.php silence files in all subdirectories.
- Updated: Tested up to WordPress 7.1.
1.1.0
- Added Students tab with enrollment list, expiry management, and purchase history modal.
- Added AJAX expiry adjustment with admin log entry.
- Added per-product access days field (30, 40, 90-day products etc.).
- Added Activity Log filters: course, action type, keyword search, date range.
- Added Students tab filters: expiry-within, enrollment date range.
- Added “Enrolled Since” column to Students tab.
- Added data-preservation default on uninstall (opt-in to delete via Settings).
1.0.0
- Initial release.
Follow this listing's changes (Atom feed)