| 开发者 | motylanogha |
|---|---|
| 更新时间 | 2026年12月3日 14:57 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.2 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp_mail), and cart data lives in a single custom table ({prefix}_recover_carts) in your database. Nothing is sent to an external service.
Guest email capture only happens after the shopper ticks a consent checkbox, and you can edit the wording or turn the requirement off. Restore links carry an unguessable 64-character random token and nothing else: no customer id, no email in the URL. From the carts screen you can wipe every stored cart for a single email address in one click.
On the implementation side, all output is escaped and all input sanitised, every admin form and AJAX request is nonce-checked, and the admin pages need the manage_woocommerce capability. Early email capture uses a small vanilla-JavaScript snippet (no jQuery) loaded in the footer; the recovery worker runs every 10 minutes through Action Scheduler (hourly WP-Cron without it) and is idempotent, so a re-run never sends a second email for the same cart. Deleting the plugin drops its table, removes its two options, and clears the scheduled task.
Features
wp_mailplogins-recover folder to /wp-content/plugins/.Yes. Recover is free and licensed under the GPL.
Yes. Recover is a WooCommerce extension and requires WooCommerce 8.0 or later. It shows an admin notice and stays inactive if WooCommerce is missing or out of date.
Every 10 minutes through Action Scheduler, which ships with WooCommerce (hourly through WP-Cron if Action Scheduler is not available). Each run marks carts that have been inactive past your window as abandoned, then emails a recovery link to any abandoned cart that is due, using your own site mailer (wp_mail). The worker is idempotent, so a re-run never sends the same step twice: each cart receives the number of reminders you set (1 to 5), spaced by the email delay.
Yes. Each cart has a 64-character cryptographically random token. The restore link contains only that token: no customer id, no email, nothing personal. Without the exact token a cart cannot be restored, so there is no enumeration or IDOR risk.
Guest email capture only happens after the shopper ticks a consent checkbox (you can edit the wording, and consent can be required or not). Cart data is stored only in your own database and never sent to any third party. From WooCommerce > Recover Carts you can erase all stored cart data for any email address in one click. You remain responsible for your store's privacy policy.
In a custom {prefix}_recover_carts table in your WordPress database. Nothing is sent anywhere else.
Deleting the plugin from the Plugins screen runs the uninstall routine, which drops the {prefix}_recover_carts table, removes the recover_settings and recover_db_version options, and clears the scheduled recovery task.
Yes. This plugin is compatible with WordPress Multisite. Network activate it or activate it on individual sites; each site keeps its own settings and data.
aria-describedby, so a screen reader reads the explanation with the field rather than leaving it to be found on its own.recover/email_sent action after a recovery email is accepted by wp_mail.recover/cart_recovered action when a cart is marked recovered.CartRepository::findById() for cart lookup by primary key.recover/max_emails, recover/email_step_delay,
recover/email/template_args, and a third $step argument on recover/email/args.emails_sent and schedules follow-ups from last_email_at.