PluginProbe
Docket Cache – Object Cache Accelerator / 22.07.01
Docket Cache – Object Cache Accelerator v22.07.01
26.04.05 trunk 22.07.01 22.07.02 22.07.03 22.07.04 22.07.05 23.08.01 23.08.02 24.07.01 24.07.02 24.07.03 24.07.04 24.07.05 24.07.06 24.07.07 26.04.03 26.04.04
docket-cache / includes / admin / config.php

config.php in Docket Cache – Object Cache Accelerator 22.07.01, at includes/admin/config.php

608 lines 30.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Docket Cache.
4 *
5 * @author Nawawi Jamili
6 * @license MIT
7 *
8 * @see https://github.com/nawawi/docket-cache
9 */
10
11 namespace Nawawi\DocketCache;
12
13 \defined('ABSPATH') || exit;
14 ?>
15 <div class="section config">
16 <div class="flex-container">
17 <div class="row-left">
18 <?php $this->tab_title(esc_html__('Configuration', 'docket-cache')); ?>
19 <table class="form-table form-table-selection">
20 <tr>
21 <td colspan="2" class="stitle">
22 <?php esc_html_e('Feature Options', 'docket-cache'); ?>
23 </td>
24 </tr>
25 <tr id="cronbot">
26 <th>
27 <?php
28 echo esc_html__('Cronbot Service', 'docket-cache').$this->tooltip('cronbot');
29 ?>
30 </th>
31 <td>
32 <?php echo $this->config_select_bool('cronbot'); ?>
33 </td>
34 </tr>
35 <tr id="opcviewer">
36 <th>
37 <?php
38 echo esc_html__('OPcache Viewer', 'docket-cache').$this->tooltip('opcviewer');
39 ?>
40 </th>
41 <td>
42 <?php echo $this->config_select_bool('opcviewer'); ?>
43 </td>
44 </tr>
45
46 <?php $this->render('@inc:features'); ?>
47
48 <tr id="log">
49 <th class="border-b">
50 <?php
51 echo esc_html__('Cache Log', 'docket-cache').$this->tooltip('log');
52 ?>
53 </th>
54 <td>
55 <?php echo $this->config_select_bool('log'); ?>
56 </td>
57 </tr>
58 <tr>
59 <td colspan="2" class="stitle">
60 <?php esc_html_e('Cache Options', 'docket-cache'); ?>
61 </td>
62 </tr>
63 <tr id="advpost">
64 <th><?php echo esc_html__('Advanced Post Caching', 'docket-cache').$this->tooltip('advcpost'); ?></th>
65 <td>
66 <?php echo $this->config_select_bool('advcpost'); ?>
67 </td>
68 </tr>
69 <?php if ($this->vcf()->is_dctrue('advcpost')) : ?>
70 <tr id="advpost_posttype_all">
71 <th><?php echo esc_html__('Post Caching Any Post Type', 'docket-cache').$this->tooltip('advpost_posttype_all'); ?></th>
72 <td>
73 <?php echo $this->config_select_bool('advpost_posttype_all'); ?>
74 </td>
75 </tr>
76 <?php endif; ?>
77
78 <tr id="precache">
79 <th><?php echo esc_html__('Object Cache Precaching', 'docket-cache').$this->tooltip('precache'); ?></th>
80 <td>
81 <?php echo $this->config_select_bool('precache'); ?>
82 </td>
83 </tr>
84 <tr id="menucache">
85 <th><?php echo esc_html__('WordPress Menu Caching', 'docket-cache').$this->tooltip('menucache'); ?></th>
86 <td>
87 <?php echo $this->config_select_bool('menucache'); ?>
88 </td>
89 </tr>
90 <tr id="mocache">
91 <th><?php echo esc_html__('WordPress Translation Caching', 'docket-cache').$this->tooltip('mocache'); ?></th>
92 <td>
93 <?php echo $this->config_select_bool('mocache'); ?>
94 </td>
95 </tr>
96 <tr id="preload">
97 <th class="border-b"><?php echo esc_html__('Admin Object Cache Preloading', 'docket-cache').$this->tooltip('preload'); ?></th>
98 <td>
99 <?php echo $this->config_select_bool('preload'); ?>
100 </td>
101 </tr>
102 <tr>
103 <td colspan="2" class="stitle">
104 <?php esc_html_e('Optimisations', 'docket-cache'); ?>
105 </td>
106 </tr>
107 <tr id="optwpquery">
108 <th><?php echo esc_html__('Optimize WP Query', 'docket-cache').$this->tooltip('optwpquery'); ?></th>
109 <td>
110 <?php echo $this->config_select_bool('optwpquery'); ?>
111 </td>
112 </tr>
113 <tr id="optermcount">
114 <th><?php echo esc_html__('Optimize Term Count Queries', 'docket-cache').$this->tooltip('optermcount'); ?></th>
115 <td>
116 <?php echo $this->config_select_bool('optermcount'); ?>
117 </td>
118 </tr>
119 <tr id="cronoptmzdb">
120 <th><?php echo esc_html__('Optimize Database Tables', 'docket-cache').$this->tooltip('cronoptmzdb'); ?></th>
121 <td>
122 <?php
123 echo $this->config_select_set(
124 'cronoptmzdb',
125 [
126 'default' => __('Default', 'docket-cache'),
127 'daily' => __('Daily', 'docket-cache'),
128 'weekly' => __('Weekly', 'docket-cache'),
129 'monthly' => __('Monthly', 'docket-cache'),
130 'never' => __('Never', 'docket-cache'),
131 ]
132 );
133 ?>
134 </td>
135 </tr>
136 <tr id="wpoptaload">
137 <th><?php echo esc_html__('Suspend WP Options Autoload', 'docket-cache').$this->tooltip('wpoptaload'); ?></th>
138 <td>
139 <?php echo $this->config_select_bool('wpoptaload'); ?>
140 </td>
141 </tr>
142 <tr id="postmissedschedule">
143 <th><?php echo esc_html__('Post Missed Schedule Tweaks', 'docket-cache').$this->tooltip('postmissedschedule'); ?></th>
144 <td>
145 <?php echo $this->config_select_bool('postmissedschedule'); ?>
146 </td>
147 </tr>
148 <tr id="misc_tweaks">
149 <th class="border-b"><?php echo esc_html__('Misc Performance Tweaks', 'docket-cache').$this->tooltip('misc_tweaks'); ?></th>
150 <td>
151 <?php echo $this->config_select_bool('misc_tweaks'); ?>
152 </td>
153 </tr>
154 <tr>
155 <td colspan="2" class="stitle">
156 <?php esc_html_e('Woo Tweaks', 'docket-cache'); ?>
157 </td>
158 </tr>
159 <tr id="wootweaks">
160 <th><?php echo esc_html__('Misc WooCommerce Tweaks', 'docket-cache').$this->tooltip('wootweaks'); ?></th>
161 <td>
162 <?php echo $this->config_select_bool('wootweaks'); ?>
163 </td>
164 </tr>
165 <tr id="wooadminoff">
166 <th><?php echo esc_html__('Deactivate WooCommerce Admin', 'docket-cache').$this->tooltip('wooadminoff'); ?></th>
167 <td>
168 <?php echo $this->config_select_bool('wooadminoff'); ?>
169 </td>
170 </tr>
171 <tr id="woowidgetoff">
172 <th><?php echo esc_html__('Deactivate WooCommerce Widget', 'docket-cache').$this->tooltip('woowidgetoff'); ?></th>
173 <td>
174 <?php echo $this->config_select_bool('woowidgetoff'); ?>
175 </td>
176 </tr>
177 <tr id="woowpdashboardoff">
178 <th><?php echo esc_html__('Deactivate WooCommerce WP Dashboard', 'docket-cache').$this->tooltip('woowpdashboardoff'); ?></th>
179 <td>
180 <?php echo $this->config_select_bool('woowpdashboardoff'); ?>
181 </td>
182 </tr>
183 <tr id="wooextensionpageoff">
184 <th><?php echo esc_html__('Deactivate WooCommerce Extensions Page', 'docket-cache').$this->tooltip('wooextensionpageoff'); ?></th>
185 <td>
186 <?php echo $this->config_select_bool('wooextensionpageoff'); ?>
187 </td>
188 </tr>
189 <tr id="woocartfragsoff">
190 <th><?php echo esc_html__('Deactivate WooCommerce Cart Fragments', 'docket-cache').$this->tooltip('woocartfragsoff'); ?></th>
191 <td>
192 <?php echo $this->config_select_bool('woocartfragsoff'); ?>
193 </td>
194 </tr>
195 <tr id="wooaddtochartcrawling">
196 <th class="border-b"><?php echo esc_html__('Prevent robots crawling add-to-cart links', 'docket-cache').$this->tooltip('wooaddtochartcrawling'); ?></th>
197 <td>
198 <?php echo $this->config_select_bool('wooaddtochartcrawling'); ?>
199 </td>
200 </tr>
201 <tr>
202 <td colspan="2" class="stitle">
203 <?php esc_html_e('WP Tweaks', 'docket-cache'); ?>
204 </td>
205 </tr>
206 <tr id="headerjunk">
207 <th><?php echo esc_html__('Remove WP Header Junk', 'docket-cache').$this->tooltip('headerjunk'); ?></th>
208 <td>
209 <?php echo $this->config_select_bool('headerjunk'); ?>
210 </td>
211 </tr>
212 <tr id="pingback">
213 <th><?php echo esc_html__('Deactivate XML-RPC / Pingbacks', 'docket-cache').$this->tooltip('pingback'); ?></th>
214 <td>
215 <?php echo $this->config_select_bool('pingback'); ?>
216 </td>
217 </tr>
218 <tr id="wpemoji">
219 <th><?php echo esc_html__('Deactivate WP Emoji', 'docket-cache').$this->tooltip('wpemoji'); ?></th>
220 <td>
221 <?php echo $this->config_select_bool('wpemoji'); ?>
222 </td>
223 </tr>
224 <tr id="wpfeed">
225 <th><?php echo esc_html__('Deactivate WP Feed', 'docket-cache').$this->tooltip('wpfeed'); ?></th>
226 <td>
227 <?php echo $this->config_select_bool('wpfeed'); ?>
228 </td>
229 </tr>
230 <tr id="wpembed">
231 <th><?php echo esc_html__('Deactivate WP Embed', 'docket-cache').$this->tooltip('wpembed'); ?></th>
232 <td>
233 <?php echo $this->config_select_bool('wpembed'); ?>
234 </td>
235 </tr>
236 <tr id="wplazyload">
237 <th><?php echo esc_html__('Deactivate WP Lazy Load', 'docket-cache').$this->tooltip('wplazyload'); ?></th>
238 <td>
239 <?php echo $this->config_select_bool('wplazyload'); ?>
240 </td>
241 </tr>
242 <tr id="wpsitemap">
243 <th><?php echo esc_html__('Deactivate WP Sitemap', 'docket-cache').$this->tooltip('wpsitemap'); ?></th>
244 <td>
245 <?php echo $this->config_select_bool('wpsitemap'); ?>
246 </td>
247 </tr>
248 <tr id="wpapppassword">
249 <th><?php echo esc_html__('Deactivate WP Application Passwords', 'docket-cache').$this->tooltip('wpapppassword'); ?></th>
250 <td>
251 <?php echo $this->config_select_bool('wpapppassword'); ?>
252 </td>
253 </tr>
254 <tr id="wpdashboardnews">
255 <th><?php echo esc_html__('Deactivate WP Events & News Feed Dashboard', 'docket-cache').$this->tooltip('wpdashboardnews'); ?></th>
256 <td>
257 <?php echo $this->config_select_bool('wpdashboardnews'); ?>
258 </td>
259 </tr>
260 <tr id="wpbrowsehappy">
261 <th><?php echo esc_html__('Deactivate Browse Happy Checking', 'docket-cache').$this->tooltip('wpbrowsehappy'); ?></th>
262 <td>
263 <?php echo $this->config_select_bool('wpbrowsehappy'); ?>
264 </td>
265 </tr>
266 <tr id="wpservehappy">
267 <th><?php echo esc_html__('Deactivate Serve Happy Checking', 'docket-cache').$this->tooltip('wpservehappy'); ?></th>
268 <td>
269 <?php echo $this->config_select_bool('wpservehappy'); ?>
270 </td>
271 </tr>
272 <tr id="limithttprequest">
273 <th><?php echo esc_html__('Limit WP-Admin HTTP Requests', 'docket-cache').$this->tooltip('limithttprequest'); ?></th>
274 <td>
275 <?php echo $this->config_select_bool('limithttprequest'); ?>
276 </td>
277 </tr>
278 <?php if (version_compare($GLOBALS['wp_version'], '5.8', '<')) : ?>
279 <tr id="httpheadersexpect">
280 <th class="border-b"><?php echo esc_html__('HTTP Request Expect header tweaks', 'docket-cache').$this->tooltip('httpheadersexpect'); ?></th>
281 <td>
282 <?php echo $this->config_select_bool('httpheadersexpect'); ?>
283 </td>
284 </tr>
285 <?php endif; ?>
286 <tr>
287 <td colspan="2" class="stitle">
288 <?php esc_html_e('Runtime Options', 'docket-cache'); ?>
289 </td>
290 </tr>
291 <tr id="rtpostautosave">
292 <th><?php echo esc_html__('Auto Save Interval', 'docket-cache').$this->tooltip('rtpostautosave'); ?></th>
293 <td>
294 <?php
295 echo $this->config_select_set(
296 'rtpostautosave',
297 [
298 'default' => __('Default', 'docket-cache'),
299 '1' => __('Every Minute', 'docket-cache'),
300 '5' => __('Every 5 Minutes', 'docket-cache'),
301 '15' => __('Every 15 Minutes', 'docket-cache'),
302 'off' => __('Disable', 'docket-cache'),
303 ]
304 );
305 ?>
306 </td>
307 </tr>
308 <tr id="rtpostrevision">
309 <th><?php echo esc_html__('Post Revisions', 'docket-cache').$this->tooltip('rtpostrevision'); ?></th>
310 <td>
311 <?php
312 echo $this->config_select_set(
313 'rtpostrevision',
314 [
315 'default' => __('Default', 'docket-cache'),
316 '3' => __('Limit to 3 Revisions', 'docket-cache'),
317 '5' => __('Limit to 5 Revisions', 'docket-cache'),
318 'on' => __('No Limit', 'docket-cache'),
319 'off' => __('Disable', 'docket-cache'),
320 ]
321 );
322 ?>
323 </td>
324 </tr>
325 <tr id="rtpostemptytrash">
326 <th><?php echo esc_html__('Trash Bin', 'docket-cache').$this->tooltip('rtpostemptytrash'); ?></th>
327 <td>
328 <?php
329 echo $this->config_select_set(
330 'rtpostemptytrash',
331 [
332 'default' => __('Default', 'docket-cache'),
333 '7' => __('Empty In 7 Days', 'docket-cache'),
334 '14' => __('Empty In 14 Days', 'docket-cache'),
335 '30' => __('Empty In 30 Days', 'docket-cache'),
336 'off' => __('Disable', 'docket-cache'),
337 ]
338 );
339 ?>
340 </td>
341 </tr>
342 <tr id="rtimageoverwrite">
343 <th><?php echo esc_html__('Cleanup Image Edits', 'docket-cache').$this->tooltip('rtimageoverwrite'); ?></th>
344 <td>
345 <?php
346 echo $this->config_select_set(
347 'rtimageoverwrite',
348 [
349 'default' => __('Default', 'docket-cache'),
350 'on' => __('Enable', 'docket-cache'),
351 'off' => __('Disable', 'docket-cache'),
352 ],
353 !empty($GLOBALS[$this->vcf()->px('rtimageoverwrite_false')]) && IMAGE_EDIT_OVERWRITE ? 'on' : $this->vcf()->dcvalue('rtimageoverwrite')
354 );
355 ?>
356 </td>
357 </tr>
358 <tr id="rtwpcoreupdate">
359 <th><?php echo esc_html__('Disallows WP Auto Update Core', 'docket-cache').$this->tooltip('rtwpcoreupdate'); ?></th>
360 <td>
361 <?php
362 echo $this->config_select_set(
363 'rtwpcoreupdate',
364 [
365 'default' => __('Default', 'docket-cache'),
366 'off' => __('Enable', 'docket-cache'),
367 'on' => __('Disable', 'docket-cache'),
368 ],
369 !empty($GLOBALS[$this->vcf()->px('rtwpcoreupdate_false')]) && !(bool) WP_AUTO_UPDATE_CORE ? 'on' : $this->vcf()->dcvalue('rtwpcoreupdate')
370 );
371 ?>
372 </td>
373 </tr>
374 <tr id="rtpluginthemeeditor">
375 <th><?php echo esc_html__('Disallows Plugin / Theme Editor', 'docket-cache').$this->tooltip('rtpluginthemeeditor'); ?></th>
376 <td>
377 <?php
378 echo $this->config_select_set(
379 'rtpluginthemeeditor',
380 [
381 'default' => __('Default', 'docket-cache'),
382 'on' => __('Enable', 'docket-cache'),
383 'off' => __('Disable', 'docket-cache'),
384 ],
385 !empty($GLOBALS[$this->vcf()->px('rtpluginthemeeditor_false')]) && DISALLOW_FILE_EDIT ? 'on' : $this->vcf()->dcvalue('rtpluginthemeeditor')
386 );
387 ?>
388 </td>
389 </tr>
390 <tr id="rtpluginthemeinstall">
391 <th><?php echo esc_html__('Disallows Plugin / Theme Update and Installation', 'docket-cache').$this->tooltip('rtpluginthemeinstall'); ?></th>
392 <td>
393 <?php
394 echo $this->config_select_set(
395 'rtpluginthemeinstall',
396 [
397 'default' => __('Default', 'docket-cache'),
398 'on' => __('Enable', 'docket-cache'),
399 'off' => __('Disable', 'docket-cache'),
400 ],
401 !empty($GLOBALS[$this->vcf()->px('rtpluginthemeinstall_false')]) && DISALLOW_FILE_MODS ? 'on' : $this->vcf()->dcvalue('rtpluginthemeinstall')
402 );
403 ?>
404 </td>
405 </tr>
406 <?php
407 $rtwpdebug_default = !empty($GLOBALS[$this->vcf()->px('rtwpdebug_false')]) && WP_DEBUG ? 'on' : $this->vcf()->dcvalue('rtwpdebug');
408 ?>
409 <tr id="rtwpdebug">
410 <th<?php echo 'off' === $rtwpdebug_default ? ' class="border-b"' : ''; ?>><?php echo esc_html__('WP Debug', 'docket-cache').$this->tooltip('rtwpdebug'); ?></th>
411 <td>
412 <?php
413 echo $this->config_select_set(
414 'rtwpdebug',
415 [
416 'default' => __('Default', 'docket-cache'),
417 'on' => __('Enable', 'docket-cache'),
418 'off' => __('Disable', 'docket-cache'),
419 ],
420 $rtwpdebug_default
421 );
422 ?>
423 </td>
424 </tr>
425 <?php if ('on' === $rtwpdebug_default) : ?>
426 <tr id="rtwpdebugdisplay">
427 <th><?php echo esc_html__('WP Debug Display', 'docket-cache').$this->tooltip('rtwpdebugdisplay'); ?></th>
428 <td>
429 <?php
430 echo $this->config_select_set(
431 'rtwpdebugdisplay',
432 [
433 'default' => __('Default', 'docket-cache'),
434 'on' => __('Enable', 'docket-cache'),
435 'off' => __('Disable', 'docket-cache'),
436 ],
437 !empty($GLOBALS[$this->vcf()->px('rtwpdebugdisplay_false')]) && WP_DEBUG_DISPLAY ? 'on' : $this->vcf()->dcvalue('rtwpdebugdisplay')
438 );
439 ?>
440 </td>
441 </tr>
442 <?php
443 $rtwpdebuglog_default = !empty($GLOBALS[$this->vcf()->px('rtwpdebuglog_false')]) && WP_DEBUG_LOG ? 'on' : $this->vcf()->dcvalue('rtwpdebuglog');
444 $error_log = ini_get('error_log');
445 ?>
446 <tr id="rtwpdebuglog">
447 <th class="border-b"><?php echo esc_html__('WP Debug Log', 'docket-cache').$this->tooltip('rtwpdebuglog'); ?></th>
448 <td>
449 <?php
450 echo $this->config_select_set(
451 'rtwpdebuglog',
452 [
453 'default' => __('Default', 'docket-cache'),
454 'on' => __('Enable', 'docket-cache'),
455 'off' => __('Disable', 'docket-cache'),
456 ],
457 $rtwpdebuglog_default
458 );
459
460 if (\defined('WP_DEBUG') && WP_DEBUG && \defined('WP_DEBUG_LOG') && WP_DEBUG_LOG && @is_file($error_log) && is_readable($error_log)) {
461 $error_log = basename($error_log);
462 echo '<span class="wpdebuglog"><a class="btxo" title="'.$error_log.'" href="'.$this->tab_query('config', ['wplog' => '0'.time()]).'" rel="noopener" target="new"><span class="dashicons dashicons-external"></span>View Log</a></span>';
463 }
464 ?>
465 </td>
466 </tr>
467 <?php endif; ?>
468 <tr>
469 <td colspan="2" class="stitle">
470 <?php esc_html_e('Storage Options', 'docket-cache'); ?>
471 </td>
472 </tr>
473 <tr id="maxfile">
474 <th><?php echo esc_html__('Cache Files Limit', 'docket-cache').$this->tooltip('maxfile'); ?></th>
475 <td>
476 <?php
477 $maxfile_default = '50K';
478 switch ($this->vcf()->dcvalue('maxfile')) {
479 case '50000':
480 $maxfile_default = '50K';
481 break;
482 case '100000':
483 $maxfile_default = '100K';
484 break;
485 case '200000':
486 $maxfile_default = '200K';
487 break;
488 }
489 echo $this->config_select_set(
490 'maxfile',
491 [
492 'default' => __('Default', 'docket-cache'),
493 '50K' => '50000',
494 '100K' => '100000',
495 '200K' => '200000',
496 ],
497 $maxfile_default
498 );
499 ?>
500 </td>
501 </tr>
502 <tr id="maxsize_disk">
503 <th><?php echo esc_html__('Cache Disk Limit', 'docket-cache').$this->tooltip('maxsize_disk'); ?></th>
504 <td>
505 <?php
506 $maxsize_disk_default = '500M';
507 switch ($this->vcf()->dcvalue('maxsize_disk')) {
508 case '524288000':
509 $maxsize_disk_default = '500M';
510 break;
511 case '1073741824':
512 $maxsize_disk_default = '1G';
513 break;
514 case '2147483648':
515 $maxsize_disk_default = '2G';
516 break;
517 }
518 echo $this->config_select_set(
519 'maxsize_disk',
520 [
521 'default' => __('Default', 'docket-cache'),
522 '500M' => '500M',
523 '1G' => '1G',
524 '2G' => '2G',
525 ],
526 $maxsize_disk_default
527 );
528 ?>
529 </td>
530 </tr>
531 <tr id="chunkcachedir">
532 <th><?php echo esc_html__('Chunk Cache Directory', 'docket-cache').$this->tooltip('chunkcachedir'); ?></th>
533 <td>
534 <?php echo $this->config_select_bool('chunkcachedir'); ?>
535 </td>
536 </tr>
537 <tr id="flush_stalecache">
538 <th class="border-b"><?php echo esc_html__('Auto Remove Stale Cache', 'docket-cache').$this->tooltip('flush_stalecache'); ?></th>
539 <td>
540 <?php echo $this->config_select_bool('flush_stalecache'); ?>
541 </td>
542 </tr>
543 <tr>
544 <td colspan="2" class="stitle">
545 <?php esc_html_e('Admin Interface', 'docket-cache'); ?>
546 </td>
547 </tr>
548 <tr id="pageloader">
549 <th><?php echo esc_html__('Admin Page Loader', 'docket-cache').$this->tooltip('pageloader'); ?></th>
550 <td>
551 <?php echo $this->config_select_bool('pageloader'); ?>
552 </td>
553 </tr>
554 <tr id="stats">
555 <th><?php echo esc_html__('Object Cache Data Stats', 'docket-cache').$this->tooltip('stats'); ?></th>
556 <td>
557 <?php echo $this->config_select_bool('stats'); ?>
558 </td>
559 </tr>
560 <tr id="gcaction">
561 <th><?php echo esc_html__('Garbage Collector Action Button', 'docket-cache').$this->tooltip('gcaction'); ?></th>
562 <td>
563 <?php echo $this->config_select_bool('gcaction'); ?>
564 </td>
565 </tr>
566 <tr id="flushaction">
567 <th class="border-b"><?php echo esc_html__('Additional Flush Cache Action Button', 'docket-cache').$this->tooltip('flushaction'); ?></th>
568 <td>
569 <?php echo $this->config_select_bool('flushaction'); ?>
570 </td>
571 </tr>
572 <tr>
573 <td colspan="2" class="stitle">
574 <?php esc_html_e('Plugin Options', 'docket-cache'); ?>
575 </td>
576 </tr>
577 <tr id="autoupdate">
578 <th><?php echo esc_html__('Docket Cache Auto-Updates', 'docket-cache').$this->tooltip('autoupdate'); ?></th>
579 <td>
580 <?php echo $this->config_select_bool('autoupdate'); ?>
581 </td>
582 </tr>
583 <tr id="checkversion">
584 <th><?php echo esc_html__('Check Critical Version', 'docket-cache').$this->tooltip('checkversion'); ?></th>
585 <td>
586 <?php echo $this->config_select_bool('checkversion'); ?>
587 </td>
588 </tr>
589 <tr id="flush_shutdown">
590 <th><?php echo esc_html__('Flush Object Cache During Deactivation', 'docket-cache').$this->tooltip('flush_shutdown'); ?></th>
591 <td>
592 <?php echo $this->config_select_bool('flush_shutdown'); ?>
593 </td>
594 </tr>
595 <tr id="opcshutdown">
596 <th><?php echo esc_html__('Flush OPcache During Deactivation', 'docket-cache').$this->tooltip('opcshutdown'); ?></th>
597 <td>
598 <?php echo $this->config_select_bool('opcshutdown'); ?>
599 </td>
600 </tr>
601 </table>
602 </div>
603 <div class="row-right">
604 <?php $this->render('resource'); ?>
605 </div>
606 </div>
607 </div>
608