SyncGenerator::getBpSyncFunction( $type )

Get the function that update ld group role

Description

Source

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

651
652
653
654
655
656
657
658
659
protected function getBpSyncFunction($type)
{
    switch ($this->getBpSyncToRole($type)) {
        case 'admin':
            return 'ld_update_leader_group_access';
        default:
            return 'ld_update_group_access';
    }
}

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.