Sync::onAdminRemoved( $groupId, $userId )
Sync when a admin is removed from the group
Description
Source
File: bp-integrations/learndash/learndash/Sync.php
public function onAdminRemoved($groupId, $userId)
{
if (! $generator = $this->groupUserEditCheck('admin', $groupId)) {
return false;
}
$generator->syncLdAdmin($userId, true);
}
Changelog
| Version | Description |
|---|---|
| BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.