llms_mark_complete( int $user_id, int $object_id, int $object_type, string $trigger = 'unspecified' )
Mark a lesson, section, course, or track as complete
Description Description
See also See also
- LLMS_Student->mark_complete()
Parameters Parameters
- $user_id
-
(Required) WP User ID.
- $object_id
-
(Required) WP Post ID of the Lesson, Section, Track, or Course.
- $object_type
-
(Required) Object type [lesson|section|course|track].
- $trigger
-
(Optional) String describing the event that triggered marking the object as complete.
Default value: 'unspecified'
Return Return
(boolean)
Source Source
File: includes/functions/llms.functions.person.php
Changelog Changelog
Version | Description |
---|---|
3.3.1 | Introduced. |