learndash_user_course_last_step learndash_user_course_last_step( int $user_id, int $course_id ) Gets the user’s last active step for a course. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Description # Parameters # $user_id (int) (Optional) User ID. Default 0. $course_id (int) (Optional) Course ID. Default 0. Return # (int) The last active course step ID. Source # File: includes/course/ld-course-functions.php Changelog # Changelog Version Description 3.1.4 Introduced. Related # Namespace # global @package # LearnDash / Course Uses # Uses Uses Description includes/class-ldlms-db.php: LDLMS_DB::get_table_name () Utility function to return the table name. This is to prevent hard-coding of the table names throughout the code files. includes/course/ld-course-functions.php: learndash_get_last_active_course () Gets the user’s last active (last updated) course ID.
Uses # Uses Uses Description includes/class-ldlms-db.php: LDLMS_DB::get_table_name () Utility function to return the table name. This is to prevent hard-coding of the table names throughout the code files. includes/course/ld-course-functions.php: learndash_get_last_active_course () Gets the user’s last active (last updated) course ID.