do_action( "llms_mark_{$status}", int $student_id , int $object_id , string $object_type )
Hook that fires when a student’s favorite status is updated for any object.
Description Description
The dynamic portion of this hook, $status, refers to the new favorite status of the object, either "favorite" or "unfavorite".
Parameters Parameters
- $student_id
-
(int) WP_User ID of the student.
- $object_id
-
(int) WP Post ID of the object to mark/unmark as favorite.
- $object_type
-
(string) The object type, currently only 'lesson'.
Source Source
Changelog Changelog
| Version | Description |
|---|---|
| 7.5.0 | Introduced. |