ld_course_access_from( int $course_id, int $user_id )
Gets the amount of time when the lesson becomes available to a user.
Description Description
Parameters Parameters
- $course_id
-
(Optional) Course ID to check. Default 0.
- $user_id
-
(Optional) User ID to check. Default 0.
Return Return
(int) The timestamp of when the course can be accessed from.
Source Source
File: includes/course/ld-course-user-functions.php
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |