Create courses with lessons and manage member access access natively in Paid Memberships Pro. Also integrates membership with third party LMS plugins like LifterLMS, LearnDash, Tutor LMS, and Sensei LMS.
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
Changes proposed in this Pull Request:
Added further check to bypass preview lessons before check if the user has access to a course.
Resolves XXX.
How to test the changes in this Pull Request:
Install Tutor LMS
Install Tutor LMS Pro
Install Preview Tutor Add On
Install PMPPro course Add On and check Tutor LMS setting
Create a private Tutor course and make it required for certain membership level.
Add few lessons, make one preview.
Open an incognito window and without login navigate to the course
Click the link to the lesson with eye icon (preview one)
Check if you can see the lesson of you're redirected to the Course page.
Other information:
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you successfully run tests with your changes locally?
Changelog entry
Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.
BUG FIX: Fixed and issue with TutorLMS integration. Clicking Preview lesson button was causing redirect instead of actually preview the lesson.
BUG FIX: Fixed an issue with default and LifterLMS modules enabled at the same time. LifterLMS courses were giving 404 errors due conflicts with default CPT and Lifter permalinks.
All Submissions:
Changes proposed in this Pull Request:
Added further check to bypass preview lessons before check if the user has access to a course.
Resolves XXX.
How to test the changes in this Pull Request:
Other information:
Changelog entry