Browse: Home / Functions /

learndash_can_attempt_again

learndash_can_attempt_again( int $user_id,  int $quiz_id )

Checks whether a user can attempt the quiz again.


Description #


Parameters #

$user_id

(int) (Required) User ID.

$quiz_id

(int) (Required) Quiz ID.


Return #

(boolean) Returns true if the user can attempt quiz again otherwise false.


Source #

File: includes/course/ld-course-progress.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.