Browse: Home / Functions /

learndash_get_user_course_attempts

This function has been deprecated.

learndash_get_user_course_attempts( int $user_id,  int $course_id )

Gets the user course attempts activity.


Description #


Parameters #

$user_id

(int) (Optional) The ID of the user to get course attempts. Default 0.

$course_id

(int) (Optional) The ID of the course to get attempts. Default 0.


Return #

(array|void) An array of activity IDs and timestamps or quizzes found.


Source #

File: includes/deprecated/5.0.0/functions.php


Changelog #

Changelog
Version Description
5.0.0 This function has been deprecated.
2.3.0 Introduced. This function has been deprecated.