SyncGenerator::syncBpUsers()
Sync the bp members to ld
Description
Source
File: bp-integrations/learndash/library/SyncGenerator.php
public function syncBpUsers() { $this->syncingToLearndash(function() { $members = groups_get_group_members([ 'group_id' => $this->bpGroupId ]); $members = $members['members']; foreach ($members as $member) { $this->syncBpMember($member->ID, false, false); } }); $this->clearLdGroupCache(); return $this; }
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.