PHP-only block registration: skip React for simple blocks
WordPress 7.0 lets you register a block entirely in PHP. The autoRegister flag tells the editor to build the inspector controls from your attribute definitions, so a server-rendered block needs no JavaScript. The setup, and the attribute types it skips.