learndash_user_get_course_completed_date( int $user_id, int $course_id )
Gets the course completion date for a user.
Description Description
Parameters Parameters
- $user_id
-
(Optional) The ID of the user. Default 0.
- $course_id
-
(Optional) The ID of the course. Default 0.
Return Return
(int) The timestamp of when the course was completed. The value is 0 if the course is not completed.
Source Source
File: includes/course/ld-course-functions.php
Changelog Changelog
Version | Description |
---|---|
2.4.7 | Introduced. |