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.


Top ↑

Return Return

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


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.