ld_course_access_expired ld_course_access_expired( int $course_id, int $user_id ) Checks whether the user’s access to the course is expired. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Used By Description # Parameters # $course_id (int) (Required) Course ID. $user_id (int) (Required) User ID. Return # (bool) Returns true if the access is expired otherwise false. Source # File: includes/course/ld-course-user-functions.php Changelog # Changelog Version Description 2.1.0 Introduced. Related # Namespace # global @package # LearnDash / User Uses # Uses Uses Description includes/settings/settings-functions.php: learndash_get_setting () Gets the LearnDash setting for a post. includes/course/ld-course-user-functions.php: ld_update_course_access () Updates the list of courses a user can access. includes/course/ld-course-user-functions.php: ld_course_access_expires_on () Gets the amount of time until the course access expires for a user. includes/course/ld-course-user-functions.php: learndash_process_user_course_access_expire Filters whether the course is expired for a user or not. includes/course/ld-course-user-functions.php: learndash_user_course_access_expired Fires when the user course access is expired. includes/course/ld-course-progress.php: learndash_delete_course_progress () Deletes the course progress for a user. Used By # Used By Used By Description includes/course/ld-course-user-functions.php: sfwd_lms_has_access_fn () Checks whether a user has access to a course.
Uses # Uses Uses Description includes/settings/settings-functions.php: learndash_get_setting () Gets the LearnDash setting for a post. includes/course/ld-course-user-functions.php: ld_update_course_access () Updates the list of courses a user can access. includes/course/ld-course-user-functions.php: ld_course_access_expires_on () Gets the amount of time until the course access expires for a user. includes/course/ld-course-user-functions.php: learndash_process_user_course_access_expire Filters whether the course is expired for a user or not. includes/course/ld-course-user-functions.php: learndash_user_course_access_expired Fires when the user course access is expired. includes/course/ld-course-progress.php: learndash_delete_course_progress () Deletes the course progress for a user.
Used By # Used By Used By Description includes/course/ld-course-user-functions.php: sfwd_lms_has_access_fn () Checks whether a user has access to a course.