PluginProbe
Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score / 1.0
Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score v1.0
trunk 1.0 1.0.1 1.1 1.1.1 1.1.2 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 2.0 2.0.1 2.0.2 2.0.3 2.0.4 2.1 2.1.1 2.1.2 2.2 2.2.1 All 69 releases
powered-cache / includes / admin / settings / misc.php

misc.php in Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score 1.0, at includes/admin/settings/misc.php

74 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 *
4 * Settings page template
5 *
6 * @package PoweredCache
7 * @subpackage PoweredCache/Settings
8 */
9
10 // Exit if accessed directly
11 if ( ! defined( 'ABSPATH' ) ) {
12 exit;
13 }
14
15 ?>
16
17 <div class="meta-box-sortables ui-sortable">
18
19 <div class="postbox">
20 <div class="inside">
21
22 <table class="form-table">
23 <tbody>
24 <tr>
25 <th scope="row"><label for="powered_cache_cache_message"><?php _e( 'Cache status message', 'powered-cache' ); ?></label></th>
26 <td>
27 <label><input type="checkbox" id="powered_cache_cache_message" name="powered_cache_settings[show_cache_message]" <?php checked( powered_cache_get_option( 'show_cache_message' ), 1 ); ?> value="1"><?php _e('Show cache status message in footer','powered-cache'); ?></label>
28 </td>
29 </tr>
30
31 <tr>
32 <th scope="row"><label for="powered_cache_clear_cache"><?php _e( 'Clear Cache', 'powered-cache' ); ?></label></th>
33 <td>
34 <?php echo Powered_Cache_Admin_Helper::flush_cache_button(); ?>
35 <br>
36 <span class="description"><?php _e( 'Clear all cache, including object cache', 'powered-cache' ); ?></span>
37 </td>
38 </tr>
39
40 <tr>
41 <th scope="row"><label for="powered_cache_clear_cache"><?php _e( 'Reset All Settings', 'powered-cache' ); ?></label></th>
42 <td>
43 <?php echo Powered_Cache_Admin_Helper::reset_settings_button(); ?>
44 </td>
45 </tr>
46
47 <tr>
48 <th scope="row"><label for="powered_cache_export_settings"><?php _e( 'Export', 'powered-cache' ); ?></label></th>
49 <td>
50 <?php echo Powered_Cache_Admin_Helper::export_settings_button(); ?>
51 </td>
52 </tr>
53
54 <tr>
55 <th scope="row"><label for="powered_cache_import_settings"><?php _e( 'Import', 'powered-cache' ); ?></label></th>
56 <td>
57 <input type="file" id="powered_cache_import_settings" name="powered_cache_import">
58 <br>
59 <input type="submit" name="do-import" id="do-import" class="button" value="<?php _e('Upload and import','powered-cache');?>">
60 </td>
61 </tr>
62
63
64 </tbody>
65 </table>
66
67 </div>
68 <!-- .inside -->
69
70 </div>
71 <!-- .postbox -->
72
73 </div>
74