LLMS_Analytics::is_lesson_completed( [int] $user_id, [int] $lesson_id, string $end_date = '' )
Checks whether a lesson is completed
Contents
Parameters Parameters
- $user_id
-
([int]) (Required) user id]
- $lesson_id
-
([int]) (Required) [lesson id]
- $end_date
-
(string) (Optional) [optional end date]
Default value: ''
Return Return
(boolean) [if lesson was completed before end date]
Source Source
File: includes/class.llms.analytics.php
Expand full source code Collapse full source code View on GitHub