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

Updates the group access for a group leader.


Description Description


Parameters Parameters

$user_id

(Required) User ID.

$group_id

(Required) Group ID.

$remove

(Optional) Whether to remove user from the group.

Default value: false


Top ↑

Return Return

(boolean) true on action success otherwise false.


Top ↑

Source Source

File: includes/ld-groups.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Added return boolean.
2.2.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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