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.


Top ↑

Return Return

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


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.4.7 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.