SyncGenerator::syncBpMods()

Sync the bp mods to ld

Description

Source

File: bp-integrations/learndash/library/SyncGenerator.php

248
249
250
251
252
253
254
255
256
257
258
259
260
261
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

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.