SyncGenerator::syncLdAdmin( $userId, $remove = false )
Sync a ld admin to bp
Description
Source
File: bp-integrations/learndash/library/SyncGenerator.php
public function syncLdAdmin($userId, $remove = false) { $this->syncingToBuddypress(function() use ($userId, $remove) { $this->addUserToBpGroup($userId, 'admin', $remove); }); 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.