learndash_user_course_last_step( int $user_id, int $course_id )
Gets the user’s last active step for a course.
Description Description
Parameters Parameters
- $user_id
-
(Optional) User ID. Default 0.
- $course_id
-
(Optional) Course ID. Default 0.
Return Return
(int) The last active course step ID.
Source Source
File: includes/course/ld-course-functions.php
Changelog Changelog
Version | Description |
---|---|
3.1.4 | Introduced. |