From df8b3dcdf267259be30b8df3fd6ae5006e264683 Mon Sep 17 00:00:00 2001 From: iyzoer Date: Wed, 7 Jun 2017 17:52:51 +0300 Subject: [PATCH] creating uninstall file --- retailcrm/uninstall.php | 64 ++++++++++++++++++++++++----------------- 1 file changed, 38 insertions(+), 26 deletions(-) diff --git a/retailcrm/uninstall.php b/retailcrm/uninstall.php index d524945..a2bce27 100644 --- a/retailcrm/uninstall.php +++ b/retailcrm/uninstall.php @@ -1,30 +1,42 @@ query( "DELETE FROM $wpdb->options WHERE option_name = 'woocommerce_integration-retailcrm_settings';" ); + +// Clear any cached data that has been removed +wp_cache_flush(); \ No newline at end of file