LLMS_Student::mark_complete( int $object_id, string $object_type, string $trigger = 'unspecified' )
Mark a lesson, section, course, or track complete for the given user
Description Description
See also See also
- llms_mark_complete(): calls this function without having to instantiate the LLMS_Student class first
Parameters Parameters
- $object_id
-
(Required) WP Post ID of the lesson, section, course, or track
- $object_type
-
(Required) object type [lesson|section|course|track]
- $trigger
-
(Optional) String describing the reason for marking complete
Default value: 'unspecified'
Return Return
(boolean)
Source Source
File: includes/models/model.llms.student.php
Changelog Changelog
Version | Description |
---|---|
3.3.1 | Introduced. |