SyncGenerator::syncLdAdmins()

Sync the ld admins to bp

Description

Source

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

296
297
298
299
300
301
302
303
304
305
306
307
public function syncLdAdmins()
{
    $this->syncingToBuddypress(function() {
        $adminIds = learndash_get_groups_administrator_ids($this->ldGroupId);
 
        foreach ($adminIds as $adminId) {
            $this->syncLdAdmin($adminId);
        }
    });
 
    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.