set_options($opts, false, $instance_id); } else { if (!class_exists('UpdraftPlus_BackupModule_updraftvault')) include_once(UPDRAFTPLUS_DIR.'/methods/updraftvault.php'); $vault = new UpdraftPlus_BackupModule_updraftvault(); } $result = $vault->get_config(); if (isset($result['error']) && !empty($result['error'])) { $result = array('error' => true, 'message' => $result['error']['message'], 'values' => $result['error']['values']); } return $this->_response($result); } }