Add WCA clean up code to uninstall.php

This commit is contained in:
moon 2022-04-07 17:42:33 -07:00
parent 1ca12a8784
commit 27bf0e5c96
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@ wp_clear_scheduled_hook( 'woocommerce_cleanup_logs' );
wp_clear_scheduled_hook( 'woocommerce_geoip_updater' );
wp_clear_scheduled_hook( 'woocommerce_tracker_send_event' );
wp_clear_scheduled_hook( 'woocommerce_cleanup_rate_limits' );
wp_clear_scheduled_hook( 'wc_admin_daily' );
wp_clear_scheduled_hook( 'generate_category_lookup_table' );
ReportsSync::clear_queued_actions();
Notes::clear_queued_actions();
/*
* Only remove ALL product and page data if WC_REMOVE_ALL_DATA constant is set to true in user's