Browse: Home / Functions /


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

Updates the course group access.

Description #

Parameters #


(int) (Required) Course ID.


(int) (Required) Group ID.


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

Default value: false

Return #

(boolean) true on action success otherwise false.

Source #

File: includes/ld-groups.php

Changelog #

Version Description
3.4.0 Added return boolean.
2.1.0 Introduced.