learndash_user_group_enrolled_to_course( int $user_id, int $course_id )
Checks whether a course can be accessed by the user’s group.
learndash_user_group_enrolled_to_course( int $user_id, int $course_id )
Checks whether a course can be accessed by the user’s group.