learndash_course_completed

learndash_course_completed( int $user_id,  int $course_id )

Checks if a course is completed for a user.


Description #


Parameters #

$user_id

(int) (Required) User ID.

$course_id

(int) (Required) Course ID.


Return #

(boolean) Returns true if the course is completed otherwise false.


Source #

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


Changelog #

Changelog
Version Description
2.1.0 Introduced.