Browse: Home / Functions /

learndash_user_get_course_completed_date

learndash_user_get_course_completed_date( int $user_id,  int $course_id )

Gets the course completion date for a user.


Description #


Parameters #

$user_id

(int) (Optional) The ID of the user. Default 0.

$course_id

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


Return #

(int) The timestamp of when the course was completed. The value is 0 if the course is not completed.


Source #

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


Changelog #

Changelog
Version Description
2.4.7 Introduced.