| 1 |
<?php |
| 2 |
|
| 3 |
use function Dev4Press\v55\Functions\panel; |
| 4 |
|
| 5 |
if ( ! defined( 'ABSPATH' ) ) { |
| 6 |
exit; |
| 7 |
} |
| 8 |
|
| 9 |
?> |
| 10 |
<div class="d4p-content"> |
| 11 |
<div class="d4p-group d4p-group-information"> |
| 12 |
<h3><?php esc_html_e( 'Important Information', 'sweeppress' ); ?></h3> |
| 13 |
<div class="d4p-group-inner"> |
| 14 |
<p> |
| 15 |
<?php esc_html_e( 'This tool can remove plugin settings saved in the WordPress options table added by the plugin.', 'sweeppress' ); ?> |
| 16 |
</p> |
| 17 |
<p> |
| 18 |
<?php esc_html_e( 'Deletion operations are not reversible, and it is highly recommended to create database backup before proceeding with this tool.', 'sweeppress' ); ?> |
| 19 |
<?php esc_html_e( 'If you choose to remove plugin settings, once that is done, all settings will be reinitialized to default values if you choose to leave plugin active.', 'sweeppress' ); ?> |
| 20 |
</p> |
| 21 |
</div> |
| 22 |
</div> |
| 23 |
|
| 24 |
<div class="d4p-group d4p-group-tools"> |
| 25 |
<h3><?php esc_html_e( 'Remove plugin settings', 'sweeppress' ); ?></h3> |
| 26 |
<div class="d4p-group-inner"> |
| 27 |
<label> |
| 28 |
<input type="checkbox" class="widefat" name="sweeppress-tools[remove][settings]" value="on"/> <?php esc_html_e( 'Main Plugin Settings', 'sweeppress' ); ?> |
| 29 |
</label> |
| 30 |
<label> |
| 31 |
<input type="checkbox" class="widefat" name="sweeppress-tools[remove][sweepers]" value="on"/> <?php esc_html_e( 'Sweepers Settings', 'sweeppress' ); ?> |
| 32 |
</label> |
| 33 |
<label> |
| 34 |
<input type="checkbox" class="widefat" name="sweeppress-tools[remove][statistics]" value="on"/> <?php esc_html_e( 'Collected Statistics', 'sweeppress' ); ?> |
| 35 |
</label> |
| 36 |
<label> |
| 37 |
<input type="checkbox" class="widefat" name="sweeppress-tools[remove][scheduler]" value="on"/> <?php esc_html_e( 'Sweeper Jobs (and all scheduled runs)', 'sweeppress' ); ?> |
| 38 |
</label> |
| 39 |
<label> |
| 40 |
<input type="checkbox" class="widefat" name="sweeppress-tools[remove][storage]" value="on"/> <?php esc_html_e( 'Scan and Monitor Storage', 'sweeppress' ); ?> |
| 41 |
</label> |
| 42 |
<label> |
| 43 |
<input type="checkbox" class="widefat" name="sweeppress-tools[remove][cache]" value="on"/> <?php esc_html_e( 'Cached Data', 'sweeppress' ); ?> |
| 44 |
</label> |
| 45 |
</div> |
| 46 |
</div> |
| 47 |
|
| 48 |
<div class="d4p-group d4p-group-tools"> |
| 49 |
<h3><?php esc_html_e( 'Remove files', 'sweeppress' ); ?></h3> |
| 50 |
<div class="d4p-group-inner"> |
| 51 |
<label> |
| 52 |
<input type="checkbox" class="widefat" name="sweeppress-tools[remove][log]" value="on"/> <?php esc_html_e( 'Remove LOG file', 'sweeppress' ); ?> |
| 53 |
</label> |
| 54 |
</div> |
| 55 |
</div> |
| 56 |
|
| 57 |
<div class="d4p-group d4p-group-tools"> |
| 58 |
<h3><?php esc_html_e( 'Disable Plugin', 'sweeppress' ); ?></h3> |
| 59 |
<div class="d4p-group-inner"> |
| 60 |
<label> |
| 61 |
<input type="checkbox" class="widefat" name="sweeppress-tools[remove][disable]" value="on"/> <?php esc_html_e( 'Disable plugin', 'sweeppress' ); ?> |
| 62 |
</label> |
| 63 |
</div> |
| 64 |
</div> |
| 65 |
|
| 66 |
<?php panel()->include_accessibility_control(); ?> |
| 67 |
</div> |
| 68 |
|