Sync::onModRemoved( $groupId,  $memberId,  $groupMemberObject )

Sync when a mod is removed from the group

Description

Source

File: bp-integrations/learndash/buddypress/Sync.php

237
238
239
240
241
242
243
244
public function onModRemoved($groupId, $memberId, $groupMemberObject)
{
    if (! $generator = $this->groupUserEditCheck('mod', $groupId)) {
        return false;
    }
 
    $generator->syncBpMod($memberId, true);
}

Changelog

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.