Browse: Home / Functions /


learndash_user_get_course_completed_date( int $user_id,  int $course_id )

Gets the course completion date for a user.

Description #

Parameters #


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


(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 #

Version Description
2.4.7 Introduced.