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. ContentsDescription Parameters Return Source Changelog Related Namespace @package Used By 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-user-functions.php Changelog # Changelog Version Description 2.6.4 Introduced. Related # Namespace # global @package # LearnDash / User Used By # Used By Used By Description includes/settings/settings-metaboxes/class-ld-settings-metabox-course-users.php: LearnDash_Settings_Metabox_Course_Users_Settings::show_settings_metabox_fields () Show Settings Section Fields. includes/deprecated/2.6.4/functions.php: get_course_users_access_from_meta () Gets the user course access from the meta. includes/course/ld-course-user-functions.php: learndash_get_users_for_course () Gets the list of users who has access to the given course. includes/course/ld-course-user-functions.php: learndash_set_users_for_course () Sets new users to the course access list. includes/admin/classes-data-upgrades-actions/class-learndash-admin-data-upgrades-course-access-list-convert.php: Learndash_Admin_Data_Upgrades_Course_Access_List_Convert::get_course_access_list () Get course access list for Course
Used By # Used By Used By Description includes/settings/settings-metaboxes/class-ld-settings-metabox-course-users.php: LearnDash_Settings_Metabox_Course_Users_Settings::show_settings_metabox_fields () Show Settings Section Fields. includes/deprecated/2.6.4/functions.php: get_course_users_access_from_meta () Gets the user course access from the meta. includes/course/ld-course-user-functions.php: learndash_get_users_for_course () Gets the list of users who has access to the given course. includes/course/ld-course-user-functions.php: learndash_set_users_for_course () Sets new users to the course access list. includes/admin/classes-data-upgrades-actions/class-learndash-admin-data-upgrades-course-access-list-convert.php: Learndash_Admin_Data_Upgrades_Course_Access_List_Convert::get_course_access_list () Get course access list for Course