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. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Used By 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-user-functions.php Changelog # Changelog Version Description 2.1.0 Introduced. Related # Namespace # global @package # LearnDash / User Uses # Uses Uses Description includes/ld-groups.php: learndash_user_group_enrolled_to_course_from () Gets timestamp of when the course is available to a user in a group. includes/settings/class-ld-settings-sections.php: LearnDash_Settings_Section::get_section_setting () Static function to get a Section Setting value. includes/course/ld-course-functions.php: learndash_get_course_meta_setting () Gets the course settings from the course meta. includes/course/ld-activity-functions.php: learndash_get_user_activity () Gets the user activity. includes/course/ld-course-user-functions.php: learndash_course_open_set_user_access_from Filters whether to update user course access from value. includes/course/ld-course-user-functions.php: ld_course_access_from Filters the amount of time when a lesson becomes available to the user. Used By # Used By Used By Description includes/course/ld-course-user-functions.php: ld_lesson_access_from () Gets the timestamp of when a user can access the lesson. 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/shortcodes/ld_course_expire_status.php: learndash_course_expire_status_shortcode () Builds the [ld_course_expire_status] shortcode output.
Uses # Uses Uses Description includes/ld-groups.php: learndash_user_group_enrolled_to_course_from () Gets timestamp of when the course is available to a user in a group. includes/settings/class-ld-settings-sections.php: LearnDash_Settings_Section::get_section_setting () Static function to get a Section Setting value. includes/course/ld-course-functions.php: learndash_get_course_meta_setting () Gets the course settings from the course meta. includes/course/ld-activity-functions.php: learndash_get_user_activity () Gets the user activity. includes/course/ld-course-user-functions.php: learndash_course_open_set_user_access_from Filters whether to update user course access from value. includes/course/ld-course-user-functions.php: ld_course_access_from Filters the amount of time when a lesson becomes available to the user.
Used By # Used By Used By Description includes/course/ld-course-user-functions.php: ld_lesson_access_from () Gets the timestamp of when a user can access the lesson. 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/shortcodes/ld_course_expire_status.php: learndash_course_expire_status_shortcode () Builds the [ld_course_expire_status] shortcode output.