PluginProbe
HurryTimer – An Scarcity and Urgency Countdown Timer for WordPress & WooCommerce / 2.2.16
HurryTimer – An Scarcity and Urgency Countdown Timer for WordPress & WooCommerce v2.2.16
2.15.0 trunk 1.0.0 1.0.1 1.1.0 1.1.1 1.1.2 1.1.3 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.1.2 2.1.3 2.1.5 2.1.6 2.1.7 2.1.8 2.10.0 All 62 releases
← All changes | uninstall.php +13 -5 trunk2.2.16 View file →
@@ -25,13 +25,21 @@
25 25 * @package Hurrytimer
26 26 */
27 27
28 28 // If uninstall not called from WordPress, then exit.
29 -if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) {
29 +if ( ! defined('WP_UNINSTALL_PLUGIN')) {
30 30 exit;
31 31 }
32 32
33 -wp_clear_scheduled_hook( 'hurrytimer_evergreen_daily_cleanup' );
34 -delete_post_meta_by_key( '_hurrytimer_reset_queue_token' );
33 +// global $wpdb;
34 +// $table = $wpdb->prefix . 'hurrytimer_evergreen';
35 +// $wpdb->query("DROP TABLE IF EXISTS $table");
36 +// $campaigns = get_posts(['post_type' => 'hurrytimer_countdown']);
35 37
36 -// Clear cached data.
37 -wp_cache_flush();
38 +// foreach ($campaigns as $campaign) {
39 +// wp_delete_post($campaign->ID, true);
40 +// }
41 +// delete_option('hurrytimer_version');
42 +// delete_option('hurrytimer_db_version');
43 +// delete_site_option('hurrytimer_version');
44 +// delete_site_option('hurrytimer_db_version');
45 +// wp_clear_scheduled_hook('hurrytimer_evergreen_daily_cleanup');