learndash_get_user_quiz_attempt

learndash_get_user_quiz_attempt( int $user_id,  array $args = array() )

Gets the quiz attempt meta for a given user.


Description #


Parameters #

$user_id

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

$args

(array) (Optional) An array of items to match.

Default value: array()


Return #

(array) An array of user quiz attempt meta.


Source #

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


Changelog #

Changelog
Version Description
2.5.0 Introduced.