Browse: Home / Functions /

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


Return #

(boolean) true on action success otherwise false.


Source #

File: includes/ld-groups.php


Changelog #

Changelog
Version Description
3.4.0 Added return boolean.
2.1.0 Introduced.