PluginProbe ʕ •ᴥ•ʔ
WP Fastest Cache – WordPress Cache Plugin / 1.4.1
WP Fastest Cache – WordPress Cache Plugin v1.4.1
1.4.9 1.4.8 trunk 0.8.6.6 0.8.6.7 0.8.6.8 0.8.6.9 0.8.7.0 0.8.7.1 0.8.7.2 0.8.7.3 0.8.7.4 0.8.7.5 0.8.7.6 0.8.7.7 0.8.7.8 0.8.7.9 0.8.8.0 0.8.8.1 0.8.8.2 0.8.8.3 0.8.8.4 0.8.8.5 0.8.8.6 0.8.8.7 0.8.8.8 0.8.8.9 0.8.9.0 0.8.9.1 0.8.9.2 0.8.9.3 0.8.9.4 0.8.9.5 0.8.9.6 0.8.9.7 0.8.9.8 0.8.9.9 0.9.0.0 0.9.0.1 0.9.0.2 0.9.0.3 0.9.0.4 0.9.0.5 0.9.0.6 0.9.0.7 0.9.0.8 0.9.0.9 0.9.1.0 0.9.1.1 0.9.1.2 0.9.1.3 0.9.1.4 0.9.1.5 0.9.1.6 0.9.1.7 0.9.1.8 0.9.1.9 0.9.2 0.9.3 0.9.4 0.9.5 0.9.6 0.9.7 0.9.8 0.9.9 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7
wp-fastest-cache / uninstall.php
wp-fastest-cache Last commit date
css 1 year ago images 1 year ago inc 7 months ago js 7 months ago languages 1 year ago templates 1 year ago index.html 11 years ago readme.txt 7 months ago uninstall.php 3 years ago wpFastestCache.php 7 months ago
uninstall.php
67 lines
1 <?php
2 /**
3 * Runs on Uninstall of WP Fastest Cache
4 *
5 * @package WP Fastest Cache
6 * @author Emre Vona
7 * @license GPL-2.0+
8 * @link http://wordpress.org/plugins/wp-fastest-cache/
9 */
10
11 // if uninstall.php is not called by WordPress, die
12 if(!defined('WP_UNINSTALL_PLUGIN')){
13 die;
14 }
15
16 include_once("wpFastestCache.php");
17
18 wpfastestcache_deactivate();
19
20 delete_option("WpFastestCache");
21 delete_option("WpFcDeleteCacheLogs");
22 delete_option("WpFastestCacheCDN");
23 delete_option("WpFastestCacheCSP");
24 delete_option("WpFastestCacheExclude");
25 delete_option("WpFastestCachePreLoad");
26 delete_option("WpFastestCacheCSS");
27 delete_option("WpFastestCacheCSSSIZE");
28 delete_option("WpFastestCacheJS");
29 delete_option("WpFastestCacheJSSIZE");
30 delete_option("WpFastestCacheXML");
31 delete_option("WpFastestCacheXMLSIZE");
32 delete_option("WpFastestCacheSVG");
33 delete_option("WpFastestCacheSVGSIZE");
34 delete_option("WpFastestCacheJSON");
35 delete_option("WpFastestCacheJSONSIZE");
36 delete_option("WpFastestCacheVarnish");
37 delete_option("WpFastestCacheWOFF");
38 delete_option("WpFastestCacheWOFFSIZE");
39 delete_option("WpFastestCacheToolbarSettings");
40 delete_option("wpfc_server_location");
41 delete_option("WpFcServerUrl");
42 delete_option("WpFcLastImageId");
43 delete_option("WpFcImgOptNonce");
44 delete_option("wpfc-group");
45 delete_option("WpFc_credit");
46 delete_option("WpFc_api_key");
47 delete_transient("wpfc_premium_update_info");
48 delete_option("wpfc_premium_update_info");
49
50 wp_clear_scheduled_hook("wpfc_db_auto_cleanup");
51
52 foreach ((array)_get_cron_array() as $cron_key => $cron_value) {
53 foreach ( (array) $cron_value as $hook => $events ) {
54 if(preg_match("/^wp\_fastest\_cache/", $hook)){
55 $args = array();
56
57 foreach ( (array) $events as $event_key => $event ) {
58 if(isset($event["args"]) && isset($event["args"][0])){
59 $args = array(json_encode(json_decode($event["args"][0])));
60 }
61 }
62
63 wp_clear_scheduled_hook($hook, $args);
64 }
65 }
66 }
67 ?>