do_action( "lifterlms_{$object_type}_{$status}d", int $student_id , int $object_id )
Hook that fires when a student’s completion status is updated for a specific object type.
Description Description
The dynamic portion of this hook, $object_type
refers to the WP_Post post_type of the object which the student’s completion status is being updated for.
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.