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

	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.