sfwd_lms_access_redirect sfwd_lms_access_redirect( int $post_id ) Redirects a user to the course page if it does not have access. ContentsDescription Parameters Return Source Changelog Related Namespace @package Description # Parameters # $post_id (int) (Required) The ID of the resource that belongs to a course. Return # (boolean|void) Returns true if the user has access to the course. Source # File: includes/course/ld-course-user-functions.php Changelog # Changelog Version Description 2.1.0 Introduced. Related # Namespace # global @package # LearnDash / User