For WordPress Developers
Stop Writing Boilerplate. Start Shipping Blocks.
BF Blocks eliminates the repetitive scaffolding work of Gutenberg development without sacrificing extensibility. Full hooks API, REST endpoints, WP-CLI support, and clean PHP output.
What BF Blocks Eliminates
Every task you no longer have to do by hand for every block.
Without BF Blocks
- Write block.json manually
- Register block with register_block_type()
- Define all attributes in PHP and JS
- Write save() and edit() JavaScript functions
- Create PHP render callback
- Enqueue block editor scripts
- Handle sanitisation for every input type
- Write inspector controls from scratch
- Manage WordPress version compatibility
- Repeat all of the above for every block
With BF Blocks
- Define fields in the UI — block.json generated automatically
- Auto-registered on save
- Attributes inferred from field definitions
- Editor controls generated from your field config
- Server-side rendering handled by BF Blocks
- Zero asset enqueue configuration required
- Input sanitisation built in per field type
- Inspector panel generated automatically
- Tested against WordPress core compatibility matrix
- Add a new block in minutes, not hours
Hooks & Filters Reference
BF Blocks exposes clean extension points throughout the plugin lifecycle.
View full documentation →| Hook | Type | Description |
|---|---|---|
| bf_blocks/register_field_type | filter | Register custom field types to extend BF Blocks. |
| bf_blocks/before_save_block | action | Fires before a block definition is saved to the database. |
| bf_blocks/after_save_block | action | Fires after a block definition is saved. |
| bf_blocks/render_field | filter | Filter the rendered output of any field. |
| bf_blocks/block_attributes | filter | Modify block attributes before registration. |
| bf_blocks/export_data | filter | Modify block export payload before download. |
| bf_blocks/import_data | filter | Modify block data before it is imported. |
Ready to Ship Blocks Faster?
Full documentation, code examples, and a 14-day free trial — no credit card required.