'', 'updraft_service' => '', 'updraftplus_dismissedautobackup' => 0, // Notice with information about the auto-backup add-on 'updraftplus_dismisseddashnotice' => 0, // Notice on the main dashboard for free users who've been using the plugin for a few weeks 'dismissed_general_notices_until' => 0, // Notices on the UD dashboard page 'dismissed_review_notice' => 0, // Review notice on the UD dashboard page 'dismissed_season_notices_until' => 0, // Seasonal notices on the UD dashboard page 'dismissed_clone_php_notices_until' => 0, // Clone PHP notice on WP Dashboard 'dismissed_clone_wc_notices_until' => 0, // Clone WC notice on WP Plugins page 'updraftplus_dismissedexpiry' => 0, // Notice from the updates connector about support/updates expiry 'updraft_log_syslog' => 0, 'updraft_ssl_nossl' => 0, 'updraft_ssl_useservercerts' => 0, 'updraft_ssl_disableverify' => 0, 'updraft_split_every' => 400, 'updraft_dir' => '', 'updraft_report_warningsonly' => array(), 'updraft_report_wholebackup' => array(), 'updraft_report_dbackup' => array(), 'updraft_databases' => array(), 'updraft_backupdb_nonwp' => 0, 'updraft_remotesites' => array(), 'updraft_migrator_localkeys' => array(), 'updraft_central_localkeys' => array(), 'updraft_autobackup_default' => 0, 'updraft_delete_local' => 1, 'updraft_debug_mode' => 1, 'updraft_include_plugins' => 1, 'updraft_include_themes' => 1, 'updraft_include_uploads' => 1, 'updraft_include_others' => 1, 'updraft_include_wpcore' => 0, 'updraft_include_wpcore_exclude' => '', 'updraft_include_more' => 0, 'updraft_include_more_path' => '', 'updraft_include_mu-plugins' => 1, 'updraft_include_blogs' => 1, 'updraft_include_others_exclude' => UPDRAFT_DEFAULT_OTHERS_EXCLUDE, 'updraft_include_uploads_exclude' => UPDRAFT_DEFAULT_UPLOADS_EXCLUDE, 'updraft_interval' => 'manual', 'updraft_interval_increments' => 'none', 'updraft_interval_database' => 'manual', 'updraft_extradbs' => array(), 'updraft_retain' => 1, 'updraft_retain_db' => 1, 'updraft_retain_extra' => array(), 'updraft_starttime_files' => date('H:i', time()+600), 'updraft_starttime_db' => date('H:i', time()+600), 'updraft_startday_files' => date('w', time()+600), 'updraft_startday_db' => date('w', time()+600) ); global $updraftplus; if (is_a($updraftplus, 'UpdraftPlus')) { $backup_methods = array_keys($updraftplus->backup_methods); foreach ($backup_methods as $service) { $arr['updraft_'.$service] = array(); } } update_site_option('updraftplus_options', $arr); } public static function options_form_begin($settings_fields = 'updraft-options-group', $allow_autocomplete = true, $get_params = array(), $classes = '') {// phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.Found -- Unused parameters are for future use. $page = ''; if (!empty($get_params)) { $page .= '?'; $first_one = true; foreach ($get_params as $k => $v) { if ($first_one) { $first_one = false; } else { $page .= '&'; } $page .= urlencode($k).'='.urlencode($v); } } if (!$page) $page = '?page=updraftplus'; echo '