[WordPress] 外掛分享: WireCore Order Archive Cleaner for WooCommerce

首頁 › 外掛目錄 › WireCore Order Archive Cleaner for WooCommerce
WordPress 外掛 WireCore Order Archive Cleaner for WooCommerce 的封面圖片
全新外掛
安裝啟用
—
尚無評分
2 天前
最後更新
—
問題解決
WordPress 6.5+ PHP 7.4+ v1.0.0 上架:2026-10-27

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WireCore Order Archive Cleaner for WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

WireCore Order Archive Cleaner moves old orders out of the active order list. It adds the order status “Archived” and moves qualifying orders into it – automatically once a day in the background or manually from the order list.
Archived orders are not deleted. They remain in WooCommerce, keep counting as paid orders of the customer, can be opened, refunded and restored to their previous status at any time.
Archiving

Daily background run via the WooCommerce Action Scheduler, continued batch by batch until all orders are checked.
Archive orders older than 1 to 120 months, with the order statuses of your choice.
Batch size of up to 200 orders per batch.
Dry-run mode: shows how many orders would be archived, without changing them.
“Run now” on the settings page, with the result of the batch.
Optional summary email to the site admin after each automatic run.
“Archived” view in the order list; archived orders no longer appear under “All”.
Bulk actions “Archive” and “Restore from archive” in the order list, archive and restore actions on the order screen.
Restoring returns an order to the status it had before archiving.
Dashboard widget with the number of archived orders.
Compatible with High-Performance Order Storage (HPOS).

Rules
Orders matching one of these rules are never archived automatically:

Orders with at least one refund.
Orders with a total above an amount.
Orders of customers with selected roles.
Orders containing products from selected categories.

Export and retention

Scheduled export: all archived orders as CSV file by email, weekly or monthly.
Retention: permanently delete archived orders whose order date is older than 1 to 20 years – optionally only after emailing them as CSV backup. If the backup email cannot be sent, nothing is deleted. Disabled by default.

Webhook
Sends a JSON POST request to a public HTTPS address whenever an order is archived, e.g. for Zapier, Make or your own systems. With a secret, every request is signed with HMAC-SHA256 in the header X-WireCore-Signature (sha256=).
For developers

wirecore_oac_should_skip_order – filters whether an order is never archived automatically (parameters: excluded by the rules, order).
wirecore_oac_after_archive_batch – runs after every batch with the counts archived and skipped.
WP-CLI: wp wirecore-archive run|restore|status|export.

Privacy
The plugin does not set cookies and does not contact external services on its own. Only if you configure them:

the webhook sends the order ID, order number, previous status, customer email address, total, currency, order date and the address of your site to the HTTPS address you entered,
scheduled exports and the backup before deletion send archived orders with customer names and email addresses as CSV file to the email address you entered.

Source code and third-party resources
The settings page uses the WireLayer component library (MIT). assets/wirelayer/wirelayer.css is generated from the npm package @wirecore/wirelayer-css with npm run build:css; the source code of the plugin, including package.json, is available at github.com/WireCore/WP-Order-Archive-Cleaner-for-WooCommerce. Bundled with it:

Tailwind CSS (MIT) – preflight and utilities compiled into wirelayer.css
Schibsted Grotesk and JetBrains Mono fonts (SIL Open Font License 1.1, assets/wirelayer/fonts/OFL.txt), served from the plugin – no external font service
Lucide icons (ISC)

延伸相關外掛

文章
Filter
Mastodon