do_action( "before_llms_mark_{$status}", int $student_id , int $object_id , string $object_type , string $trigger )
Fires before a student’s object completion status is updated.
Description Description
The dynamic portion of this hook, $status
, refers to the new completion status of the object, either "complete" or "incomplete"
Parameters Parameters
- $student_id
-
(int) WP_User ID of the student.
- $object_id
-
(int) WP_Post ID of the object.
- $object_type
-
(string) The type of object. A lesson, section, course, or course_track.
- $trigger
-
(string) String describing the reason for the status change.