BpGroupCourses::settings_screen_save( $groupId = null )
Saving the settings for all views
Description
Source
File: bp-integrations/learndash/buddypress/components/BpGroupCourses.php
public function settings_screen_save($groupId = null)
{
$generator = bp_ld_sync('buddypress')->sync->generator($groupId);
if (! bp_ld_sync()->getRequest('bp-ld-sync-enable')) {
return $generator->desyncFromLearndash();
}
$generator->associateToLearndash()->syncBpAdmins();
}
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.