Linux 软件免费装
Banner图

Block Inserter Filter

开发者 jgorres
更新时间 2026年9月28日 22:23
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPL v2 or later
版权网址: 版权信息

标签

admin blocks gutenberg block-editor inserter

下载

2.1.4

详情介绍:

Block Inserter Filter lets administrators hide individual Gutenberg blocks from the block inserter for the whole site — Core blocks, theme blocks and blocks of any plugin — without writing any code. It controls what editors can insert; it does not touch existing content and has no effect on the front end. Features Optional GenerateBlocks integration GenerateBlocks is not required. If it is installed, the plugin adds a few conveniences: Security Defense in depth: capability check (manage_options), nonce validation, whitelist sanitization on save, consistent output escaping.

安装:

  1. Upload the plugin folder to wp-content/plugins/ or install the ZIP via Plugins → Add New → Upload Plugin.
  2. Activate the plugin under Plugins.
  3. Configure the plugin under Settings → Hide Blocks.

升级注意事项:

2.1.4 Plugin header cleanup only. No functional changes. 2.1.3 Translation files are no longer bundled; translations are delivered as language packs from translate.wordpress.org. No functional changes. 2.1.2 Removes a duplicate "Settings saved." notice. No functional changes. 2.1.1 Group headers show the number of hidden blocks; "Toggle all" appears only in expanded groups. No functional changes to filtering. 2.1.0 Block groups are now collapsible accordions, all collapsed by default. No functional changes to filtering. 2.0.0 Renamed to "Block Inserter Filter" with a new slug and option prefix. Settings migrate automatically; reactivate the plugin after the update. English source strings with German, French and Spanish translations. Fixes and WordPress 7.1 compatibility. 1.5.1 Maintenance release: declares WordPress 7.0 compatibility. No functional changes. 1.5.0 Internal refactor: prefix scheme corrected from gbba_ (legacy, from old plugin slug generateblocks-bloecke-ausblenden) to jg_gbbf_. A one-shot migration copies your existing hidden-block settings to the new option keys, no data loss. No user-visible changes. 1.4.1 Plugin Check fix: shortened the 1.4.0 Upgrade Notice block to satisfy the upgrade_notice_limit sniff (max 300 characters). No functional changes. 1.4.0 Slug renamed to gb-block-filter. Existing settings preserved. The plugins overview shows the plugin as GenerateBlocks – Block-Filter (Zusatz), sorting it next to GenerateBlocks. WordPress may auto-deactivate during the rename — reactivate manually under Plugins. 1.3.10 Auto-hides core/heading and core/image from the block inserter as soon as GenerateBlocks Pro is active, because the Pro variants fully replace those Core blocks while Pro is loaded. 1.3.0 Block icons are now displayed in the settings page next to each block name. No data migration required. 1.1.0 Adds an "Embed variations" section so individual embed providers (YouTube, Reddit, Vimeo, …) can be removed from the editor. No data migration required. 1.0.0 Initial release.

常见问题:

Will existing posts that use hidden blocks be destroyed?

No. Content remains intact and renders normally on the front-end. Only inserting new instances from the block inserter is blocked.

Why can't I hide "Paragraph" or "Image"?

These blocks are hard-protected as a safety net — without them the editor would be practically unusable. If you really need to remove them, use the allowed_block_types_all filter in your theme or in a custom plugin.

更新日志:

2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.0 1.5.1 1.5.0 1.4.1 1.4.0 1.3.10 1.3.9 1.3.8 1.3.7 1.3.6 1.3.5 1.3.4 1.3.3 1.3.2 1.3.1 1.3.0 1.2.1 1.2.0 1.1.0 1.0.0