Move Tutor LMS Lesson or Quiz


Moves a lesson, quiz or assignment to another topic, or to another position in its topic, and renumbers the topics' contents as Tutor's course builder does. Also puts a lesson that is in no topic, and so in no course, into one: the fix for a lesson made as a plain post. Moving into a topic of another course moves it to that course. Get IDs from mosmcp/tutor-get-course.

Also known as: reorder lessons, move lesson to topic, attach lesson to course, link lesson to course, drag lesson, change lesson order.

Property Value
Ability slug mosmcp/tutor-move-content
Wire tool name mosmcp__tutor-move-content
Category Tutor LMS (mosmcp-tutor)
Plan Pro

 

Required access

Requirement Value
Capability edit_tutor_lessons
Minimum default role Administrator
Annotations readOnly: false · destructive: false · idempotent: true · openWorld: false

 

Input schema

Field Type Required Default Description
content_id integer (min 1) Yes — The lesson, quiz or assignment ID.
topic_id integer (min 1) — The topic to move it into. Leave out to reorder it within its own topic; required when it is in no topic.
position integer (min 1) — Position in the topic, 1 for first. Leave out to put it last.

 

Output schema

Field Type Required Description
id integer Yes
type string Yes lesson, quiz, assignment, or another kind an add-on adds.
title string
status string
order integer Yes Sort key in its topic: lower comes first. Tutor's builder may start at 0.
preview boolean Lessons: whether it is a free preview.
video_source string Lessons: where the video comes from (youtube, vimeo, external_url, html5 for an upload, embedded, shortcode), empty when there is none.
video_url string Lessons: the video's web address for youtube, vimeo and external_url sources, otherwise empty.
has_attachments boolean Lessons: whether it has downloadable files.
question_count integer Quizzes: how many questions it has.
from_topic_id integer The topic it was in, 0 for none.
topic_id integer Yes
topic_title string
course_id integer Yes
notes string[]

 


<< Previous Next >>
List Tutor LMS Courses Update Tutor LMS Course

For more information about the Secure MCP Server for WordPress plugin, explore the following resources:

Product Overview | Pricing | Try for Free | Documentation

If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.