Browse: Home / Functions /


learndash_update_course_users_groups( int $user_id,  int $course_id,  array $access_list,  boolean $remove )

Updates the users group course access.

Description #

Fires on learndash_update_course_access hook.

Parameters #


(int) (Required) The ID of the user.


(int) (Required) The ID of the course.


(array) (Required) An array of course access list.


(boolean) (Required) Whether to user group from course access.

Source #

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

Changelog #

Version Description
2.4.0 Introduced.