PHP function to enroll user to course
-
Hello,
I am trying to give free access to a course for a limited time only when a user registers.
So for example, a user creates an account and then they automatically access to X course for X amount of time (2 days for example). After the 2 day period, they can no longer access the course unless they purchase.
Is this possible using existing settings?
If not, does anybody have any guidance? For example, it would be helpful if there is a PHP function to enroll a user ID to a course ID if this exists?
Thank you and help is much appreciated!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP function to enroll user to course’ is closed to new replies.