Zero Blocks Given
Zero Blocks Given turns off WooCommerce / WP block frontend output at the code level. Five tiers, optional settings, no paywall.
Utiliser avec prudence
Zero Blocks Given works, but test it on a staging site before relying on it in 2026. It runs on 20+ sites and was last updated 3 months ago, and scores 57/100 on our health check.
- Testé avec le dernier WordPress (7.1)
- Petite base d'utilisateurs (20+ installations actives)
- Très peu de critiques jusqu'à présent
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Zero Blocks Given stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| disable blocks | >100 |
| Gutenberg | >100 |
| performance | >100 |
| WooCommerce | >100 |
| zero blocks given | #1 |
Adoption de version
Part de sites actifs par version.
About Zero Blocks Given
From the official readme · v1.3.3Description
Most WooCommerce stores ship 80-150 KB of block CSS and JS that the store never actually renders. The WC BlockPatterns scanner is the one that bugs me most – it hits the filesystem on every request to scan a directory of pattern templates you don’t use. Then add core WP global-styles, wp-block-library and font-faces on top, and you’re loading a Gutenberg frontend you probably switched off a long time ago.
Zero Blocks Given turns it off at the source, through WooCommerce’s own dependency injection container. No CSS dequeue band-aid, no UI checkboxes, no PRO upsell. One constant in wp-config.php, pick a tier, done.
Comment cela fonctionne
Here’s the thing – WC registers its block hooks as closures wrapping instance methods on container-managed objects. So you can’t remove_action() them by string. You have to fetch the same instance back from the DI container and pass it in as the callable. That’s what this does:
$bp = \Automattic\WooCommerce\Blocks\Package::container()->get( BlockPatterns::class );
remove_action( 'init', [ $bp, 'register_block_patterns' ] );
The DI-container path is the one that survives WC upgrades cleanly. String-callback matching and dequeue tricks tend to drift every release, so I went with the container.
Five modes. Three ways to set them.
Mode
What it turns off
When to use it
patterns
WC BlockPatterns directory scanner only
Block-based Cart/Checkout – keeps all blocks rendering, just skips the file-I/O scan
blocks
patterns + BlockTypesController + Notices styles + wc-blocks-style handle
Classic-shortcode WC stores
keep-styles
blocks + WC Product Filter pattern scan (ProductFilterAttribute)
Stores that don’t use WC blocks but keep Gutenberg styling – kills the expensive scans, leaves global-styles and core block rendering alone. Pixel-perfect.
all
keep-styles + WP global-styles pipeline + theme.json + font-faces + head <style> strip
Sites with no Gutenberg frontend at all
nuclear
all + unregister_block_type() for every core block
Page-builder sites – strips the editor inserter clean
Default is all. Set the mode you want with any of these:
- The
<dialog>settings – click the Settings link on the Plugins screen. Native HTML dialog, four radios, save. No menu items, nothing else added to your admin. - A constant in
wp-config.php–define( 'ZEROBLG_MODE', 'patterns' );. This wins over the dialog. Good devops escape hatch. - A filter in a theme or mu-plugin –
add_filter( 'zeroblg/mode', fn() => 'blocks' );. Used when neither the constant nor the dialog set a value.
Resolution order: constant, then settings, then filter, then all. An invalid value at any step just falls through to the next.
A few real cases
- Service-form site on WC. You sell consultations, not products – no cart, no checkout.
mode=allstrips every block stylesheet across the site. - Classic-shortcode WC store. You use
[woocommerce_cart]and[woocommerce_checkout], no block UI.mode=blocksturns off the block frontend without touching your classic flow. - Block-checkout store with bloated patterns. You run the new Cart/Checkout blocks but never the WC pattern library.
mode=patternsskips just the directory scanner – saves the disk hit, leaves your checkout alone. - Themed store with a layered-nav filter, pixel-perfect requirement. Woodmart or similar, WC layered nav, no Product Filter block in any post. The
ProductFilterAttributepattern scan can cost ~100ms a request on its own.mode=keep-styleskills that scan and the rest of the block registration, but leaves every inlineglobal-stylesrule in place – so the shop renders pixel-for-pixel the same.allwould shave the same milliseconds but stripstheme.jsonstyles too, which moves pixels. - FrankenPHP / worker mode. All hooks are idempotent, no
$GLOBALSwrites,\Throwablecatches around the DI lookups. Safe in a worker. - Elementor / Divi WC stores. The page builder renders its own checkout, so
mode=allclears the WC and WP block CSS your theme never uses anyway.
Why I built it this way
- Activate it and it works –
mode=allis the default, no setup needed. - No settings page to learn. One constant or one filter is the whole API.
- Pure PHP. No database rows, no admin scripts, no frontend JS.
- No external requests, no tracking, nothing phoning home. GDPR is a non-issue.
- It uses the same
Package::container()lookup as WC core, so it follows WC’s own object lifecycle instead of guessing. - Worker-safe – FrankenPHP, Roadrunner, Swoole. No
die, noexit, no session writes. - mu-plugin friendly. Drop the folder into
wp-content/mu-plugins/and it loads itself. - GPL, no upsells. No PRO tier, no Freemius, no admin notice nagging you for a review.
From the maker of WP Multitool
This plugin handles the frontend block bloat. If you also want the backend cleaned up, that’s what WP Multitool does – slow queries, autoload bloat, the database bottlenecks that caching plugins just hide instead of fixing. Most optimization plugins guess at the problem. WP Multitool runs EXPLAIN and shows you. 14 tools in there – slow-query analyzer, autoload optimizer, index suggestions, fatal-error recovery – and a free site scanner if you want to see what’s slow before paying for anything. If Zero Blocks Given earned a spot in your stack, that one probably will too.
Installation
- Install from the WordPress plugin directory, or upload the folder to
/wp-content/plugins/zero-blocks-given/. - Activate it. It runs on
mode=allout of the box. - To change the tier, add this to
wp-config.php:
define( ‘ZEROBLG_MODE’, ‘patterns’ ); // or ‘blocks’ or ‘all’ - Or drop the folder into
wp-content/mu-plugins/instead – it works as a must-use plugin too.
Journal de modifications
Compatibility release: tested and verified on WordPress 7.1. No code changes, no behavior change - safe to update.
1.3.3
- Tested against WordPress 7.1 (with WooCommerce 11). All five tiers verified on a live 7.1 install –
patterns,blocks,keep-styles,allandnuclear– front and back, with zero PHP notices, warnings, deprecations or fatals, and the DI-container removals still binding correctly (block/global-styles handles drop exactly as documented). No code changes;Tested up tobumped to 7.1.
1.3.2
- Fixed: a fatal
Cannot redeclare zeroblg_bootstrap()when another plugin ships a bundled copy of Zero Blocks Given (UltrafastWoo Core vendors one). The bundled copy loads first, so activating the standalone plugin died mid-activation –activate_plugin()includes the plugin file before it writesactive_plugins, so the host plugin can’t skip its bundle in time. The function declaration and theZEROBLG_PLUGIN_FILEconstant are now both declared conditionally, and the bootstrap call runs once. No change on a normal single-copy install.
1.3.1
nuclearis now site-wide (front and back). On top of unregistering every core block, it now also strips WooCommerce Blocks’ admin asset-data payload (AssetDataRegistry::enqueue_asset_dataonadmin_print_footer_scripts) – the one backend cost that core-block unregistration left in place, measured at ~618ms in wp-admin on a large-catalogue store. Admin-only, via the Blocks DI container,\Throwable-wrapped.nuclear‘s audience is zero-Gutenberg stores (page builder / shortcode / classic), where that WC block admin data is dead weight. Other tiers (patterns,blocks,keep-styles,all) stay frontend-scoped and are unchanged.
1.3.0
- New
keep-stylestier, sitting betweenblocksandall. It kills the WC Product Filter pattern scanner (ProductFilterAttribute::register_block_patternsonwp_loaded) on top of theblocksremovals, but leaves the WPglobal-stylespipeline and core block rendering untouched. For stores that want the block/pattern registration cost gone without moving a single pixel – the scan can cost ~100ms a request on a layered-nav store that never uses the Product Filter block. Front-only; the editor’s pattern inserter is left alone. - The Product Filter scan removal runs for
keep-styles,allandnuclear. - Fixed:
nuclearnow also removesBlockTypesController::register_blocks(it was skipping it – max aggression should include it). - Dialog now lists five tiers.
1.2.2
- WP.org plugin review feedback – switched direct-file-access guards from
returntoexit(the WP coding-standards form). Applied tozero-blocks-given.php,uninstall.phpand allinc/*.phptier files. No behavior change.
1.2.1
- WP.org plugin review feedback – extended the internal prefix from
zbgtozeroblg(review wanted prefixes longer than 4 chars). Renamed constantZBG_MODEtoZEROBLG_MODE, filterzbg/modetozeroblg/mode, option keyzbg_modetozeroblg_mode, plus the matching function, CSS and DOM-id prefixes. No behavior change.
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Zero Blocks Given alternatives
All disable blocks plugins →FAQ
Zero Blocks Given: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Zero Blocks Given free?
Yes. Zero Blocks Given is free to download and use from the official WordPress.org plugin directory.
Is Zero Blocks Given safe to use in 2026?
Zero Blocks Given works, but test it on a staging site before relying on it in 2026. It runs on 20+ sites and was last updated 3 months ago, and scores 57/100 on our health check.
How many websites use Zero Blocks Given?
Zero Blocks Given is active on 20+ WordPress websites and has been downloaded 783 times since it launched in May 2026. It was downloaded 88 times in the last 30 days.
Does Zero Blocks Given work with WordPress 7.1?
Yes. The developer has tested Zero Blocks Given up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.
What PHP version does Zero Blocks Given need?
Zero Blocks Given requires PHP 8.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Zero Blocks Given last updated?
The latest version, 1.3.3, was released on August 20, 2026 (3 months ago).
Who makes Zero Blocks Given?
Zero Blocks Given is developed and maintained by Marcin Dudek.
What are the best alternatives to Zero Blocks Given?
The most popular alternatives to Zero Blocks Given are Block Manager (4K+ installs), Disable Gutenberg Blocks (3K+ installs) and Daisy Disable Blocks (<10 installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit



