ld_update_group_access

ld_update_group_access( int $user_id,  int $group_id,  boolean $remove = false )

Updates a user’s group access.


Description #


Parameters #

$user_id

(int) (Required) User ID.

$group_id

(int) (Required) Group ID.

$remove

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

Default value: false


Source #

File: includes/ld-groups.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.