PluginProbe ʕ •ᴥ•ʔ
WP STAGING – WordPress Backups, Restore, Migration & Clone / 4.9.4
WP STAGING – WordPress Backups, Restore, Migration & Clone v4.9.4
4.9.4 4.9.3 4.9.2 4.9.1 4.9.0 4.8.1 trunk 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.10.0 3.2.0 3.3.1 3.3.2 3.3.3 3.4.1 3.4.3 3.5.0 3.6.0 3.7.1 3.8.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 3.8.7 3.9.0 3.9.1 3.9.2 3.9.3 3.9.4 4.0.0 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.2.0 4.2.1 4.3.0 4.3.1 4.3.2 4.4.0 4.5.0 4.6.0 4.7.0 4.7.1 4.7.2 4.7.3 4.8.0
wp-staging / views / backup / modal / advanced-exclude-options.php
wp-staging / views / backup / modal Last commit date
partials 1 month ago advanced-exclude-options.php 1 year ago backup-parts.php 11 months ago backup-scheduling-options.php 3 weeks ago backup-storages.php 3 weeks ago backup.php 3 weeks ago confirm-restore.php 1 month ago download-modal.php 11 months ago edit-schedule-modal.php 1 month ago manage-schedules.php 1 month ago remote-upload.php 4 months ago restore.php 1 month ago upload.php 1 month ago
advanced-exclude-options.php
54 lines
1 <?php
2
3 /**
4 * @var Times $time
5 * @var DateTimeImmutable[] $recurrenceTimes
6 * @var string $disabledProAttribute
7 * @var string $timeFormatOption
8 * @var string $urlAssets
9 * @var bool $isProVersion
10 * @var bool $hasSchedule
11 */
12
13 use WPStaging\Framework\Facades\UI\Checkbox;
14
15 $isAdvanceCheckboxDisabled = ($disabledProAttribute === ' disabled');
16 ?>
17 <div id="wpstg-advanced-exclude-options">
18 <label>
19 <?php Checkbox::render('wpstgExcludeLogs', 'advancedExclusions[]', '', false, ['isDisabled' => $isAdvanceCheckboxDisabled, 'classes' => 'wpstg-advanced-exclusion-child']); ?>
20 <span class="<?php echo esc_attr($disabledClass) ?>">
21 <?php esc_html_e('Exclude log files', 'wp-staging'); ?>
22 </span>
23 </label>
24 <label>
25 <?php Checkbox::render('wpstgExcludeCaches', 'advancedExclusions[]', '', false, ['isDisabled' => $isAdvanceCheckboxDisabled, 'classes' => 'wpstg-advanced-exclusion-child']); ?>
26 <span class="<?php echo esc_attr($disabledClass) ?>">
27 <?php esc_html_e('Exclude cache files', 'wp-staging'); ?>
28 </span>
29 </label>
30 <label>
31 <?php Checkbox::render('wpstgExcludePostRevision', 'advancedExclusions[]', '', false, ['isDisabled' => $isAdvanceCheckboxDisabled, 'classes' => 'wpstg-advanced-exclusion-child']); ?>
32 <span class="<?php echo esc_attr($disabledClass) ?>">
33 <?php esc_html_e('Exclude post revisions', 'wp-staging'); ?>
34 </span>
35 </label>
36 <label>
37 <?php Checkbox::render('wpstgExcludeSpamComments', 'advancedExclusions[]', '', false, ['isDisabled' => $isAdvanceCheckboxDisabled, 'classes' => 'wpstg-advanced-exclusion-child']); ?>
38 <span class="<?php echo esc_attr($disabledClass) ?>">
39 <?php esc_html_e('Exclude spam comments', 'wp-staging'); ?>
40 </span>
41 </label>
42 <label>
43 <?php Checkbox::render('wpstgExcludeUnusedThemes', 'advancedExclusions[]', '', false, ['isDisabled' => $isAdvanceCheckboxDisabled, 'classes' => 'wpstg-advanced-exclusion-child']); ?>
44 <span class="<?php echo esc_attr($disabledClass) ?>">
45 <?php esc_html_e('Exclude unused themes', 'wp-staging'); ?>
46 </span>
47 </label>
48 <label>
49 <?php Checkbox::render('wpstgExcludeDeactivatedPlugins', 'advancedExclusions[]', '', false, ['isDisabled' => $isAdvanceCheckboxDisabled, 'classes' => 'wpstg-advanced-exclusion-child']); ?>
50 <span class="<?php echo esc_attr($disabledClass) ?>">
51 <?php esc_html_e('Exclude deactivated plugins', 'wp-staging'); ?>
52 </span>
53 </label>
54 </div>