Sync::groupUserEditCheck( $role, $groupId )
Check if the user type need to be synced
Description
Source
File: bp-integrations/learndash/learndash/Sync.php
protected function groupUserEditCheck($role, $groupId) { if (! $this->preCheck()) { return false; } if ('none' == bp_ld_sync('settings')->get("learndash.default_{$role}_sync_to")) { return false; } $generator = $this->generator(null, $groupId); if (! $generator->hasBpGroup()) { return false; } return $generator; }
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.