ld_course_access_expired_alert()
Function: Generates an alert in the header that a user’s access to the course is expired.
Function: Generates an alert in the header that a user’s access to the course is expired.
Function: Gets the amount of time until the course access expires for a user.
Filter Hook: Filters the amount of time until the user’s course access expires.
Function: Gets the array of courses that can be accessed by the user.
Function: Checks whether a user has access to a course.
Filter Hook: Filters whether a user has access to the course.
Function: Checks whether a user has access to a course.
Function: Redirects a user to the course page if it does not have access.
Filter Hook: Filters the course redirect URL after checking access.
Function: Checks if the user has access to a course.