do_action( "llms_mark_{$status}", int $student_id, int $object_id, string $object_type, string $trigger )

Hook that fires when a student’s completion status is updated for any object.


Description Description

The dynamic portion of this hook, $status, refers to the new completion status of the object, either "complete" or "incomplete"


Top ↑

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.


Top ↑

Source Source

File: includes/models/model.llms.student.php

View on GitHub



Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.