![]() Server : Apache/2 System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 User : gositeme ( 1004) PHP Version : 8.2.29 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/gositeme/domains/gositeme.com/public_html/wp-content/plugins/wp-fastest-cache/ |
<?php
/**
* Runs on Uninstall of WP Fastest Cache
*
* @package WP Fastest Cache
* @author Emre Vona
* @license GPL-2.0+
* @link http://wordpress.org/plugins/wp-fastest-cache/
*/
// if uninstall.php is not called by WordPress, die
if(!defined('WP_UNINSTALL_PLUGIN')){
die;
}
include_once("wpFastestCache.php");
wpfastestcache_deactivate();
delete_option("WpFastestCache");
delete_option("WpFcDeleteCacheLogs");
delete_option("WpFastestCacheCDN");
delete_option("WpFastestCacheCSP");
delete_option("WpFastestCacheExclude");
delete_option("WpFastestCachePreLoad");
delete_option("WpFastestCacheCSS");
delete_option("WpFastestCacheCSSSIZE");
delete_option("WpFastestCacheJS");
delete_option("WpFastestCacheJSSIZE");
delete_option("WpFastestCacheXML");
delete_option("WpFastestCacheXMLSIZE");
delete_option("WpFastestCacheSVG");
delete_option("WpFastestCacheSVGSIZE");
delete_option("WpFastestCacheJSON");
delete_option("WpFastestCacheJSONSIZE");
delete_option("WpFastestCacheVarnish");
delete_option("WpFastestCacheWOFF");
delete_option("WpFastestCacheWOFFSIZE");
delete_option("WpFastestCacheToolbarSettings");
delete_option("wpfc_server_location");
delete_option("WpFcServerUrl");
delete_option("WpFcLastImageId");
delete_option("WpFcImgOptNonce");
delete_option("wpfc-group");
delete_option("WpFc_credit");
delete_option("WpFc_api_key");
delete_transient("wpfc_premium_update_info");
delete_option("wpfc_premium_update_info");
wp_clear_scheduled_hook("wpfc_db_auto_cleanup");
foreach ((array)_get_cron_array() as $cron_key => $cron_value) {
foreach ( (array) $cron_value as $hook => $events ) {
if(preg_match("/^wp\_fastest\_cache/", $hook)){
$args = array();
foreach ( (array) $events as $event_key => $event ) {
if(isset($event["args"]) && isset($event["args"][0])){
$args = array(json_encode(json_decode($event["args"][0])));
}
}
wp_clear_scheduled_hook($hook, $args);
}
}
}
?>