Tutor LMS
Course pages, lesson designs and course-building abilities through the same agent connection.
Tutor LMS decides who can read a lesson, quiz or assignment, with enrolment, content drip and prerequisites. Delta uses its decision in lists, excerpts, comments and REST. Works with Tutor LMS Free and Pro. Needs Tutor LMS 4.2.1 or later.
Templates and course content
A lesson’s design is the body of Tutor’s learning player. A course page or the course catalogue renders through a Delta design or template when one exists. Tutor’s dashboard page keeps Tutor’s own template.
Course placeholders include {{tutor_enroll_box}}, {{tutor_price}}, {{tutor_duration}} and {{tutor_lesson_count}}. Put enrolled-only sections inside {{#has:tutor_is_enrolled}}. The loops {{#tutor_my_courses}}, {{#tutor_my_completed_courses}} and {{#tutor_my_wishlist}} list the visitor’s courses.
Use the display conditions tutor_enrolled, tutor_not_enrolled, tutor_completed and tutor_logged_in. Tutor’s own records stay out of {{#query}} lists, where they would show outside their course.
Abilities and approvals
The agent builds course content with delta/tutor-* abilities, which run Tutor’s own course builder. Prices, enrolment settings, prerequisites, drip settings and instructors stay in Tutor LMS.
While the extra security layer is on, these changes wait for approval: making a course public or a lesson a preview, moving a lesson, quiz or assignment to another course, deleting Tutor content and removing a quiz’s questions. Delta’s general page, field and option abilities wait the same way for Tutor’s data. See Approvals.
Snapshot scope
Snapshots carry course structure and settings. Payment gateways and coupons are off until you select them. Secrets, keys, tokens and licences stay out. See Snapshots and restore.
Abilities this integration exposes
Abilities depend on the active plugin and its version. Read the current ability schema before a write.
delta/tutor-get-course
Reads a course with its topics, lessons and quizzes.
delta/tutor-save-course
Creates or changes a course. Making it public waits for approval.
delta/tutor-save-lesson
Creates or changes a lesson. Making it a preview waits for approval.