跳到内容

BatchPilot

v1.2.0

Jean Galea · 2026年7月14日 上架

Bulk delete, edit, and duplicate WordPress content with preview, undo, and full audit history.

正在使用
10 以下
评分
暂无
累计下载
508
最近更新
2026年11月12日
需要 WordPress 6.9+已测试到 7.0.9PHP 7.4+

贡献者

截图

Operations Builder. Pick a target, add filters, choose an operation, preview, execute.
Operations Builder. Pick a target, add filters, choose an operation, preview, execute.
Live preview panel showing matched count and sample rows.
Live preview panel showing matched count and sample rows.
History screen with one-click undo and re-run.
History screen with one-click undo and re-run.
Dashboard with quick actions, weekly stats, and environment checks for Action Scheduler, Abilities API, and database tables.
Dashboard with quick actions, weekly stats, and environment checks for Action Scheduler, Abilities API, and database tables.

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.

Thirteen filters narrow the matching set: specific IDs, 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, rewrite, republish, 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. Grant per-role or per-user. WordPress’s own per-item rights (edit, delete, publish, assign terms) are checked on top.

Use cases:

  • Trash old drafts, auto-drafts, or revisions.
  • 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).

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums