Course
For loop type lifter_course
, here are the query parameters and fields.
Query parameters
access_plan
- Access Plan ID(s) assigned to a course.
Type: string, arraycertificate_earned
- User completed the course
Type: booleancompleted
- User completed the course
Type: booleanenrolled
- Current user is enrolled
Type: booleanhas_prerequisite
- Course has prerequisite, "true"/"false"
Type: booleanhas_quizzes
- Course has quiz(zes), "true"/"false"
Type: booleaninstructor
- Instructor ID(s) or "current" assigned to a course.
Type: string, arrayis_purchasable
- Course is purcasable(at least one access plan + at least one gateway enabled), "true"/"false"
Type: booleanstudent
- Student ID(s) or "current" enrolled in a course.
Type: string, array
Fields
access_plans
- Course access plansaudio
- Course audio embedavailable_points
- Course available pointsaverage_grade
- Calculated value of the overall average grade of all *enrolled* students in the course.average_progress
- Calculated value of the overall average progress of all *enrolled* students in the course.capacity
- Number of students who can be enrolled in the coursecapacity_message
- Message displayed when capacity has been reachedcategories
- Course categoriesclosed_message
- Message displayed to visitors when the course is accessed after the Course End Date has passed.content
- Course contentcontent_restricted_message
- Message displayed when non-enrolled visitors try to access lessons/quizzes directlydifficulty
- Course difficultyend_date
- Date when a course closes. Students may no longer view content or complete lessons / quizzes after this date.enrolled_students
- Course enrolled studentsenrollment_closed_message
- Message displayed to non-enrolled visitors when the course is accessed after the Enrollment End Date has passed.enrollment_end_date
- After this date, registration closesenrollment_opens_message
- Message displayed to non-enrolled visitors when the course is accessed before the Enrollment Start Date has passed.enrollment_period
- Whether or not a course time period restriction is enabled, "true"/"false"enrollment_start_date
- Before this date, registration is closedhas_capacity
- Course has capacity , "true"/"false"has_prerequisite
- Course has prerequisite, "true"/"false"id
- Course IDinstructors
- Course instructors, instructors_assistantsis_prerequisite_complete
- Course prerequisite completed, "true"/"false"is_purchasable
- Course is purcasable(at least one access plan + at least one gateway enabled), "true"/"false"length
- Course length string - defined in adminlength_seconds
- Course length in secondslessons
- Course lessonsopens_message
- Message displayed to visitors when the course is accessed before the Course Start Date has passed.prerequisite
- Prerequisite coursequizzes
- Course quizzessales_page_content_page_id
- ID of the WP page to redirect to when $sales_page_content_type is 'page'sales_page_content_type
- Sales page behavior [none,content,page,url]sales_page_content_url
- Redirect URL for a sales page, when $sales_page_content_type is 'url'sections
- Course sectionsstart_date
- Date when a course opens. Students may register before this date but can only view content and complete lessons or quizzes after this date.student_certificate_earned
- Course specific student earned certificatestudent_completed_course
- Course specific student completed course, "true"/"false"student_completion_date
- Course specific student completion datestudent_course_progres
- Course specific student progressstudent_enrolled
- Course specific(current) student student enrolledstudent_enrollment_date
- Course specific student enrollment datestudent_grade
- Course specific student gradestudent_last_completed_lesson
- Course specific student last completed lessonstudent_next_lesson
- Course specific student next lessontime_period_enabled
- Course time period enabled, "true"/"false"user_has_access
- If User has access to the course, string "true"/"false"video
- Course video embed