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.
BUG FIX: Fixed an issue where lessons were open due to checking the access to a topic ID and not the course ID (grandparent).
To add to this, I'm not sure if Tutor LMS had changed things but the issue was the structure of a lesson was nested within a topic. (i.e. Course A > Topic 1 > Lesson 1.1). Our code was checking if the user has access to a current post or not which would give access even if the course is restricted.
Scenarios
Courses that were public would be open as soon as you're logged-in but had no membership level.
Courses that were private (and free) would allow you to enroll and immediately get access to lessons (but course content would be restricted on the courses view).
This now restricts lessons as long as the member does not have access to the actual course "object". It will redirect back to the course main page until access is granted. Fixes issues with the Approvals Add On.
To add to this, I'm not sure if Tutor LMS had changed things but the issue was the structure of a lesson was nested within a topic. (i.e. Course A > Topic 1 > Lesson 1.1). Our code was checking if the user has access to a current post or not which would give access even if the course is restricted.
Scenarios
This now restricts lessons as long as the member does not have access to the actual course "object". It will redirect back to the course main page until access is granted. Fixes issues with the Approvals Add On.
All Submissions: