learndash_get_last_active_course

learndash_get_last_active_course( int $user_id )

Gets the user’s last active (last updated) course ID.


Description #


Parameters #

$user_id

(int) (Optional) User ID. Default 0.


Return #

(int) The last active course ID.


Source #

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


Changelog #

Changelog
Version Description
2.1.3 Introduced.