LLMS_Student::is_complete( int $object_id, string $type = 'course' )
Determine if the student has completed a course, track, or lesson
Description Description
Parameters Parameters
- $object_id
-
(Required) WP Post ID of a course or lesson or section or the term id of the track
- $type
-
(Optional) Object type (course, lesson, section, or track)
Default value: 'course'
Return Return
(boolean)
Source Source
File: includes/models/model.llms.student.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |