Create blocks with PHP only
WordPress 7.0 introduced a new feature: PHP block registration exclusively via PHP. Registration, metadata, assets, and rendering—all in one place.
Developers can now create simple blocks using PHP alone. This is intended for blocks that only need to be rendered on the server side and aren’t meant to be particularly interactive. This API is designed to help developers avoid unnecessary complexity and thus promote the widespread use of blocks, especially in classic themes.
The talk uses a specific example to demonstrate how this can be implemented.
Torsten Landsiedel
November 12, 2026
Annual Pro sale · Save $30
Have presentations of your own?
Share with private links, password protection, and more control over your work.