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

Updates the users group course access.


Description Description

Fires on learndash_update_course_access hook.


Parameters Parameters

$user_id

(Required) The ID of the user.

$course_id

(Required) The ID of the course.

$access_list

(Required) An array of course access list.

$remove

(Required) Whether to user group from course access.


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.