Settings::update()
Presist the loader value to db
Description
Source
File: bp-integrations/learndash/core/Settings.php
public function update()
{
$oldOptions = $this->options;
bp_update_option($this->optionKey, $this->options = $this->loader->get());
do_action('bp_ld_sync/setting_updated', $this->options, $oldOptions);
return $this;
}
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.