Force Course expiry for all users to a set date and time

This tutorial is show us how you can control the end date for all the users purchasing the course.

Note this tutorial only valid for course purchases via WooCommerce.

Add this code in Child theme functions.php or WPLMS Customizer – wplms_customizer.php

1. Add control in admin panel for Course end date.

Result :


2. Set Course expiry to set date :


Was this article helpful?

Related Articles