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 #
- $user_id
-
(int) (Required) The ID of the user.
- $course_id
-
(int) (Required) The ID of the course.
- $access_list
-
(array) (Required) An array of course access list.
- $remove
-
(boolean) (Required) Whether to user group from course access.
Source #
Changelog #
Version | Description |
---|---|
2.4.0 | Introduced. |