Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Student::insert_completion_postmeta( int $object_id, string $trigger = 'unspecified' )
Add student postmeta data for completion of a lesson, section, course or track
Description Description
Parameters Parameters
- $object_id
-
(Required) WP Post ID of the lesson, section, course or track
- $trigger
-
(Optional) String describing the reason for mark completion
Default value: 'unspecified'
Return Return
(boolean)
Source Source
File: includes/models/model.llms.student.php
Changelog Changelog
Version | Description |
---|---|
3.3.1 | Introduced. |