learndash_get_quiz_statistics_ref_for_quiz_attempt

learndash_get_quiz_statistics_ref_for_quiz_attempt( int $user_id,  array $quiz_attempt = array() )

Gets the quiz statistic ID for a quiz attempt.


Description #


Parameters #

$user_id

(int) (Optional) Quiz ID. Default 0.

$quiz_attempt

(array) (Optional) An array of quiz attemp data.

Default value: array()


Return #

(int) The quiz statistic reference ID.


Source #

File: includes/ld-users.php