ld_update_course_group_access

ld_update_course_group_access( int $course_id,  int $group_id,  boolean $remove = false )

Updates the course group access.


Description #


Parameters #

$course_id

(int) (Required) Course ID.

$group_id

(int) (Required) Group ID.

$remove

(boolean) (Optional) Whether to remove the group from the course.

Default value: false


Source #

File: includes/ld-groups.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.