Browse: Home / Functions /

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.


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.