Feature · Gutenberg · Blockenberg

Block Manager: enable and disable Gutenberg blocks

Blockenberg registers hundreds of blocks. The Block Manager lets you disable the ones you do not use so they never register and never load editor scripts.

Get Blockenberg

Blockenberg is a Gutenberg block library. These features are plugin-wide editor tools, not Elementor extensions.

Get Blockenberg

What it actually does

Disabled blocks are saved as a flat array of names like blockenberg/accordion in the option blockenberg_disabled_blocks. AJAX action bkbg_save_disabled_blocks checks nonce bkbg_save_blocks and capability manage_options. Only names that start with blockenberg/ are stored.

blockenberg.php reads that option twice: when registering block editor/front assets, and when calling register_block_type() for each blocks/*/block.json. If the name is in the list, that block is skipped — it will not appear in the inserter.

The dashboard groups blocks by the same category slugs used in the inserter (layout, content, media, marketing, business, blog, interactive, charts, calculators, effects, developer, general). Enable all / disable all buttons are localized in admin-dashboard.js.

Where it lives in WordPress

WordPress admin → top-level Blockenberg menu (capability manage_options, dashicon screenoptions, position 59). The page is rendered by bkbg_render_dashboard() in assets/php/admin-dashboard.php.

How to use it

  1. Open Blockenberg in wp-admin. Look for the Blockenberg item in the left menu, not Settings.
  2. Find the block by category or title. Titles come from each block.json, grouped by category.
  3. Disable unused blocks. Save. The option updates via AJAX; you should see the “Settings saved.” string.
  4. Reload the editor. Disabled blocks disappear from the inserter because they were never registered.
  5. Re-enable if a page already used the block. A previously inserted block can show as unavailable until you turn it back on.

Controls and behavior

PieceWhat the plugin does
blockenberg_disabled_blocksArray of blockenberg/* names that must not register.
Enable All / Disable AllDashboard JS helpers; still saved through the same AJAX handler.
Nonce bkbg_save_blocksRequired for the AJAX save.

When this is the right tool

Notes from the code

This is not a security firewall. It only skips Blockenberg’s own registration. Core WordPress blocks are untouched. Product site: blockenberg.com.

FAQ

A block vanished from the inserter.

It is in blockenberg_disabled_blocks. Re-enable it on the Blockenberg dashboard.

Does Disable All remove blocks from existing pages?

They stop registering. Existing markup may show as invalid until you enable the block again.

Can editors without manage_options toggle this?

No. The menu and AJAX both require manage_options.

Other plugin features

Get Blockenberg

Install the plugin from WordPress.org, then use this feature in the native block editor.

Get Blockenberg