SyncGenerator::syncBpMods()
Sync the bp mods to ld
Description
Source
File: bp-integrations/learndash/library/SyncGenerator.php
public function syncBpMods() { $this->syncingToLearndash(function() { $modIds = groups_get_group_mods($this->bpGroupId); foreach ($modIds as $mod) { $this->syncBpMod($mod->user_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.