[WordPress] 外掛分享: BatchPilot

首頁外掛目錄 › BatchPilot
全新外掛
安裝啟用
尚無評分
3 天前
最後更新
問題解決
WordPress 6.9+ PHP 7.4+ v1.0.0 上架:2026-07-13

內容簡介

BatchPilot 是一款整合多項功能的外掛,取代了傳統的批次刪除、批次編輯和重複文章外掛。使用者可在執行前預覽每個操作,並可隨時撤銷,所有操作均有歷史紀錄可供重複使用。

【主要功能】
• 預覽操作結果,確保安全性
• 批次刪除、編輯和重複文章
• 支援多種過濾器以精確篩選
• 提供 WP-CLI 和 REST API 支援
• 自訂權限管理,適用於不同角色

外掛標籤

開發者團隊

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

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

原文外掛簡介

BatchPilot is a single plugin that replaces the usual stack of bulk-delete, bulk-edit, and duplicate-post plugins. Every action is previewed before it runs, can be undone, and is recorded in a history log you can re-run.
Three operations on posts, pages, and any registered public post type:

Delete. Trash by default, with a separate permanent option.
Duplicate. Copies meta, taxonomies, featured image, and optionally child posts.
Bulk edit. Change status, author, publish dates, taxonomies, password, comment status, or menu order.

Twelve filters narrow the matching set: post type, status, author, date ranges (modified, published), taxonomy terms, has comments, has featured image, parent, children.
Four ways to drive it:

Admin UI. Stepper-driven Operations Builder with live preview.
WP-CLI. wp batchpilot delete, duplicate, edit, history, undo, doctor.
REST API. /wp-json/batchpilot/v1/* endpoints with capability-gated permissions.
WordPress Abilities API. Each Target × Operation pair is exposed as a registered ability so AI agents and other clients can drive operations.

Safety features:

Every operation is previewed (count plus sample rows) before it runs.
Preview tokens (HMAC-signed, 5-minute TTL) prevent stale state from being executed.
Snapshots are written before mutation so Undo restores the previous state.
Operations over a configurable threshold (default 100 items) run in the background via Action Scheduler.
Per-operation capabilities: batchpilot_delete, batchpilot_edit, batchpilot_duplicate, batchpilot_move, batchpilot_schedule. Grant per-role or per-user.

Use cases:

Trash old drafts, auto-drafts, or revisions on a schedule.
Re-attribute posts from a departing author.
Shift publish dates on a backlog.
Add or remove taxonomy terms across a content set.
Duplicate templates or landing pages.

Development
Source code, including the un-minified JavaScript sources for the admin app, lives at https://github.com/jgalea/batchpilot
The compiled assets in assets/build/ are generated with @wordpress/scripts from the sources in assets/src/. To rebuild:
npm install && npm run build

PHP dependencies are managed with Composer (composer install).

延伸相關外掛

文章
Filter
Mastodon