SyncGenerator::syncBpAdmins()
Sync the bp admins to ld
Description
Source
File: bp-integrations/learndash/library/SyncGenerator.php
227 228 229 230 231 232 233 234 235 236 237 238 239 240 | public function syncBpAdmins() { $this ->syncingToLearndash( function () { $adminIds = groups_get_group_admins( $this ->bpGroupId); foreach ( $adminIds as $admin ) { $this ->syncBpAdmin( $admin ->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.