PHP-only Block Registration ![rw-book-cover](https://make.wordpress.org/core/files/2026/03/php-block-autoregister.png) Developers can now create simple blocks using only PHP. This is meant for blocks that only need server-side rendering and aren’t meant to be highly interactive. To do so, call `register_block_type` with the new `autoRegister` flag. Note that a `render_callback` function must also be provided: These blocks will automatically appear in the editor without requiring any JavaScript registration, and, wherever possible, the editor will automatically generate controls in the Inspector Controls sidebar to allow users to edit block attributes: [![](https://make.wordpress.org/core/files/2026/03/php-block-autoregister.png)](https://make.wordpress.org/core/files/2026/03/php-block-autoregister.png) Note that controls will not be generated for attributes with the `local` role or for attributes whose types are not supported. See [#64639](https://core.trac.wordpress.org/ticket/64639) for more details. Props to [@priethor](https://profiles.wordpress.org/priethor/) for the implementation. Props to [@wildworks](https://profiles.wordpress.org/wildworks/) for reviewing this dev note., PHP-only Block Registration, make.wordpress.org, 01kjtn4dpkgzyn62wzmpgk9t2j.