learndash_get_course_users_access_from_meta

learndash_get_course_users_access_from_meta( int $course_id )

Gets the users with course access from the user meta.


Description #


Parameters #

$course_id

(int) (Optional) The ID of the course. Default 0.


Return #

(array) An array of user IDs that have access to course.


Source #

File: includes/course/ld-course-functions.php