learndash_activity_start_lesson( int $user_id, int $course_id, int $lesson_id, int $start_time )
Set the lesson activity started record.
Description #
Parameters #
- $user_id
-
(int) (Required) User ID.
- $course_id
-
(int) (Required) Course ID.
- $lesson_id
-
(int) (Required) Lesson ID.
- $start_time
-
(int) (Required) Activity start timestamp (GMT).
Return #
(object) Instance of LDLMS_Model_Activity or null;
Source #
Changelog #
Version | Description |
---|---|
3.5.0 | Introduced. |