跳到内容

Blockwright Workbench

v1.0.2

markrussellwp · 2026年8月15日 上架

One-click developer tools for block-theme work: bulk-reset Site Editor overrides, rescan theme patterns, flush every cache, clear all transients.

正在使用
10 以下
评分
暂无
累计下载
342
最近更新
2026年8月27日
需要 WordPress 7.0+已测试到 7.1.5PHP 7.4+

贡献者

截图

The whole block-theme development loop in one admin-bar menu: reset all Site Editor overrides, rescan pattern files, flush every cache that hides your changes, and clear transients. Hidden outside a development environment, so it never shows on a client's live site.
The whole block-theme development loop in one admin-bar menu: reset all Site Editor overrides, rescan pattern files, flush every cache that hides your changes, and clear transients. Hidden outside a development environment, so it never shows on a client's live site.

If you build block themes, you know the quiet frustration: you edit a template file, reload, and nothing changes, because a Site Editor edit is sitting in the database overriding it. WordPress can undo those overrides only one item at a time through buried menus, and some cleanups (rescanning pattern files, flushing the theme.json cache and OPcache) have no button anywhere.

The Workbench puts the whole development loop in one admin-bar menu:

  • Reset Site Editor overrides for the active theme (templates, template parts, global styles) in one click
  • Rescan theme patterns, clearing the pattern-file cache first so newly added pattern files actually appear
  • Flush every cache that hides your changes: object cache, theme.json cache, OPcache
  • Clear all transients

Safe by design: the Workbench is OFF by default and only appears in a development environment (wp_get_environment_type()), or when you opt in with define( 'BLOCKWRIGHT_WORKBENCH', true ); in wp-config. Every tool is capability-gated and nonce-protected; the one destructive tool requires an explicit confirmation.

Pairs well with the official Create Block Theme plugin: use Create Block Theme to save the changes you want INTO your theme files, and the Workbench to clear out the state you do not want.

Works with any block theme.

Roadmap

Blockwright Workbench stays focused on one thing: the block-theme development loop. On the way are more one-click cleanups and finer, preview-first resets that show you exactly what they will touch before they run. The single-site developer tools stay free and complete.

Plums

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

导航

说明

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

© 2026 Plums