1) '.'Backup schedule will start at a random time between '.esc_html(gmdate('H:i:s', $utime_1)).' and '.esc_html(gmdate('H:i:s', $utime_2)).' UTC to prevent possible server overload from simultaneous backups of many sites.

'; echo '

2) '; esc_html_e('Being subjected to mechanisms of PHP, a scheduled backup task for your site will be triggered only when the site receives at least a visit at any page.', 'wpvivid-backuprestore'); echo '

'; ?>
input type="radio" '; if($display === '12Hours'){ echo ''.esc_html__('12Hours', 'wpvivid-backuprestore').'
'; } if($display === 'Daily'){ echo ''.esc_html__('Daily', 'wpvivid-backuprestore').'
'; } if($display === 'Weekly'){ echo ''.esc_html__('Weekly', 'wpvivid-backuprestore').'
'; } if($display === 'Fortnightly'){ echo ''.esc_html__('Fortnightly', 'wpvivid-backuprestore').'
'; } if($display === 'Monthly'){ echo ''.esc_html__('Monthly', 'wpvivid-backuprestore').'
'; } } else{ echo '

Warning: Unable to set '.esc_html($display).' backup schedule

'; } } echo '
'; ?>
input type="radio" '; echo ''; echo ''.esc_html__('Database + Files (WordPress Files)', 'wpvivid-backuprestore').''; echo '
'; echo '
'; echo '
'; echo '
'; ?>

'; ?>
$value) { if(in_array($key, $default_remote_storage)) { $remote_storage_type[]=$value['type']; } } $remote=array(); $remote=apply_filters('wpvivid_remote_pic', $remote); if(is_array($remote)) { foreach ($remote as $key => $value) { $title = $value['title']; if (in_array($key, $remote_storage_type)) { $pic = $value['selected_pic']; } else { $pic = $value['default_pic']; } $url = apply_filters('wpvivid_get_wpvivid_pro_url', WPVIVID_PLUGIN_URL, $key); echo ''; } echo ''; } ?>
'12Hours', 'twicedaily' => '12Hours', 'wpvivid_daily' => 'Daily', 'daily' => 'Daily', 'onceday' => 'Daily', 'wpvivid_weekly' => 'Weekly', 'weekly' => 'Weekly', 'wpvivid_fortnightly' => 'Fortnightly', 'fortnightly' => 'Fortnightly', 'wpvivid_monthly' => 'Monthly', 'monthly' => 'Monthly', 'montly' => 'Monthly' ); $schedules = wp_get_schedules(); $check_res = false; $ret = array(); foreach ($schedule_type as $key => $value){ if($value == $display){ if(isset($schedules[$key])){ $check_res = true; $ret['type']=$key; break; } } } $ret['result']=$check_res; return $ret; } function wpvivid_schedule_do_js() { $schedule=WPvivid_Schedule::get_schedule(); if($schedule['enable'] == true) { ?> jQuery("#wpvivid_schedule_enable").prop('checked', true); jQuery("input:radio[value='']").prop('checked', true); jQuery("input:radio[value='']").prop('checked', true); jQuery("input:radio[name='save_local_remote'][value='remote']").click(function() { alert(""); jQuery("input:radio[name='save_local_remote'][value='local']").prop('checked', true); });