PluginProbe
BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript / 1.9.3
BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript v1.9.3
4.1.16 4.1.15 4.1.14 4.1.13 4.1.12 4.1.11 4.1.10 4.0.30 4.0.29 4.0.28 4.0.27 4.0.26 4.0.24 4.0.25 4.0.23 4.0.22 4.0.21 4.0.19 4.0.18 4.0.17 4.0.16 1.9.3 1.9.4 1.9.5 1.9.6 All 170 releases
searchpro / uninstall.php

uninstall.php in BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript 1.9.3, at uninstall.php

33 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // if uninstall.php is not called by WordPress, die
4 if (!defined('WP_UNINSTALL_PLUGIN')) {
5 die;
6 }
7
8 delete_option('berqwp_enable_sandbox');
9 delete_option('berqwp_webp_max_width');
10 delete_option('berqwp_webp_quality');
11 delete_option('berqwp_image_lazyloading');
12 delete_option('berqwp_disable_webp');
13 delete_option('berqwp_enable_cdn');
14 delete_option('berqwp_preload_fontfaces');
15 delete_option('berqwp_disable_emojis');
16 delete_option('berqwp_lazyload_youtube_embed');
17 delete_option('berqwp_javascript_execution_mode');
18 delete_option('berqwp_enable_preload_mostly_used_font');
19 delete_option('berqwp_interaction_delay');
20 delete_option('berq_opt_mode');
21 delete_option('berq_ignore_urls_params');
22 delete_option('berq_exclude_urls');
23 delete_option('berqwp_license_key');
24 delete_option('berqwp_site_url');
25 delete_option('berqwp_post_type_names');
26 delete_option('berqwp_optimize_post_types');
27 delete_option('berqwp_optimize_taxonomies');
28
29 // Remove advanced-cache.php file
30 $dropin_file = ABSPATH . 'wp-content/advanced-cache.php';
31 if (file_exists($dropin_file)) {
32 unlink($dropin_file);
33 }