ld_course_access_from

ld_course_access_from( int $course_id,  int $user_id )

Gets the amount of time when the lesson becomes available to a user.


Description #


Parameters #

$course_id

(int) (Optional) Course ID to check. Default 0.

$user_id

(int) (Optional) User ID to check. Default 0.


Return #

(int) The timestamp of when the course can be accessed from.


Source #

File: includes/course/ld-course-functions.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.