BP_LearnDash_Admin_Integration_Tab::settings_save()

Save learndash settings with setting helper class

Description

Source

File: bp-integrations/learndash/bp-admin-learndash-tab.php

35
36
37
38
39
40
41
public function settings_save() {
    $settings = bp_ld_sync('settings');
 
    if ($values = bp_ld_sync()->getRequest($settings->getName())) {
        $settings->set(null, $values)->update();
    }
}

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.