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

Sync when a member is added to the group

Description

Source

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

174
175
176
177
178
179
180
181
public function onMemberAdded($groupId, $memberId, $groupMemberObject)
{
    if (! $generator = $this->groupUserEditCheck('user', $groupId)) {
        return false;
    }
 
    $generator->syncBpMember($memberId);
}

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.