Skip to main content

Student

For loop type learndash_student, here are the query parameters and fields.

Query parameters

  • activities_course_id - Course ID or "current" to show activities
    Type: string

  • enrolled_any - Enrolled any
    Type: boolean - Default: true

  • group - Group ID or "current" that student belongs to
    Type: string

  • group_leader - Group leader ID or "current" for current student
    Type: string

  • show_activities_limit - Limit number of student activities to show
    Type: number

  • student - Student ID(s) or "current" for the current student
    Type: string, array

Fields

  • activity - Student activity loop

  • certificate_count - Student certificates count

  • course_completed_count - Student completed courses count

  • course_points - Student all courses points

  • courses_count - Student all courses count

  • enrolled_courses - Student all enrolled courses

  • last_active_course - Student last active course loop

  • quiz_attempts - Student quiz attempts loop

  • quizzes - Student quizzes loop

  • student_group_leaders - Student group leaders loop

  • student_groups - Student groups loop