Uninstallation & data cleanup

Deactivating the plugin removes the WP-Cron job for expired token cleanup. All settings, coupon meta, and database tables are preserved. Reactivating the plugin restores full functionality.

Deleting the plugin via WordPress → Plugins triggers a full cleanup:

  • Drops the three custom database tables: {prefix}couponcraft_tokens, {prefix}couponcraft_usage_log, {prefix}couponcraft_analytics
  • Deletes all plugin options (labels, visibility settings, URL settings, cashback settings, etc.)
  • Removes all _couponcraft_* post meta from all coupons
  • Permanently deletes any native cashback credit coupons that were created by the plugin

This cleanup cannot be undone. If you plan to reinstall CouponCraft, consider deactivating rather than deleting.