Browse: Home / Functions /

learndash_remove_user_quiz_attempt

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

Removes 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 updated quiz attempt meta.


Source #

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


Changelog #

Changelog
Version Description
2.5.0 Introduced.