Skip to main content

User Quiz Attempts

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

Query parameters

  • quiz_id - Quiz ID or "current" quiz
    Type: string

  • user_id - User ID (current by default), comma separated User IDs or "all" for all Users attempts
    Type: number

Fields

  • completed - User Quiz Attempt completed timestamp

  • correct_answers - User Quiz Attempt correct answers number

  • course_id - User Quiz Attempt course id

  • display_name - User Quiz Attempt display_name

  • essays - User Quiz Attempt essays

  • has_graded - User Quiz Attempt has graded type question(essay)

  • lesson_id - User Quiz Attempt lesson id

  • pass - User Quiz Attempt pass, "true"/"false"

  • percentage - User Quiz Attempt percentage

  • points_earned - User Quiz Attempt points earned

  • questions_total - User Quiz Attempt questions total

  • quiz_id - User Quiz Attempt Quiz ID

  • rank - User Quiz Attempt rank

  • started - User Quiz Attempt started timestamp

  • timespent - User Quiz Attempt timespent in sec.

  • topic_id - User Quiz Attempt topic id

  • total_points - User Quiz Attempt total points

  • user_email - User Quiz Attempt user_email

  • user_id - User Quiz Attempt user_id