learndash_get_last_active_course( int $user_id )
Gets the user’s last active (last updated) course ID.
Parameters #
- $user_id
-
(int)
(Optional)
User ID. Default 0.
Return #
(int) The last active course ID.
Changelog #
Changelog
Version |
Description |
3.1.4 |
Introduced. |