Course
For loop type learndash_course
, here are the query parameters and fields.
Query parameters
access_type
- Access type: Open(open), Free(free), Buy now(paynow), Recurring(subscribe), Closed(closed)
Type: string, arraycertificate_earned
- Course Certificate earned or not
Type: booleancertificate_exists
- Course Certificate exists or not
Type: booleancompletion_status
- Course Completion Status for the User: Not Started(open), In Progress(started), Completed(completed)
Type: string, arrayenrolled
- Current user is enrolled
Type: booleangroup_leader
- Group Leader ID the Course belongs to
Type: stringlinked_group
- Group ID the Course belongs to
Type: string, arrayorder_by_field
- Custom order by field
Type: stringprerequisite_completed
- Course Prerequisite completed or not
Type: booleanprerequisite_exists
- Course Prerequisite exists or not
Type: boolean
Fields
course_access_expires
- When a user will have access to the course.course_certificate_data
- Course certificate data loop.course_certificate_id
- Course certificate ID.course_certificate_link
- Course certificate link.course_certificate_url
- Course certificate URL.course_content_table
- Displays the Course Content table (lessons, topics, and quizzes)course_content_table_ld
- Displays the Course Content table - LearnDash template (lessons, topics, and quizzes)course_date_completed
- Course date completedcourse_enroll
- Take this course buttoncourse_enrolled
- Course is enrolled by current usercourse_groups
- List of Course groupscourse_last_activity
- Last User Activitycourse_lessons
- List of Course Lessonscourse_lessons_number
- Number of Course Lessons.course_materials
- Course materials.course_next_step_id
- Course next step Idcourse_next_step_title
- Course next step titlecourse_next_step_url
- Course next step URLcourse_points
- Number of points awarded for completing the course.course_points_access
- Number of points required in order to gain access to the course.course_price
- Pricecourse_price_currency
- Price Currencycourse_price_type
- Price typecourse_price_type_label
- Price type labelcourse_price_url
- Price URL - Only for closed coursescourse_progress
- Displays the Course Progress barcourse_progress_percent
- Course progress percentcourse_quizzes
- List of Course quizzes(final quizzes)course_quizzes_all
- List of all Course, Lessons and Topics quizzescourse_quizzes_number
- Number of Course Quizzes.course_resume_id
- Course Resume - first incomplete step idcourse_resume_title
- Course Resume - first incomplete step titlecourse_resume_url
- Course Resume - first incomplete step urlcourse_since
- From when the Course is available.course_status
- Course status ('Not Started', 'In Progress', 'Completed' converted to 'open', 'started', 'completed')course_status_label
- Course status label ('Not Started', 'In Progress', 'Completed' )course_steps_completed
- Course steps completedcourse_steps_total
- Course steps totalcourse_students_number
- Number of Course Students.course_topics
- List of all Course Lessons Topicscourse_topics_number
- Number of Course Topics.