SyncGenerator::getBpSyncFunction( $type )
Get the function that update ld group role
Description
Source
File: bp-integrations/learndash/library/SyncGenerator.php
protected function getBpSyncFunction($type)
{
switch ($this->getBpSyncToRole($type)) {
case 'admin':
return 'ld_update_leader_group_access';
default:
return 'ld_update_group_access';
}
}
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.