---
title: "PHP-only block registration"
url: https://daily.dev/posts/php-only-block-registration-qpsrxxzqq
source_url: https://make.wordpress.org/core/2026/03/03/php-only-block-registration/
type: article
source: "Make WordPress Core"
published: 2026-03-03T17:10:35.983Z
updated: 2026-03-03T17:10:53.922Z
tags: ["webdev", "php", "wordpress"]
reading_time: 1
upvotes: 35
comments: 4
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# PHP-only block registration

**[Make WordPress Core](https://daily.dev/sources/wordpresscore)** · 1 min read · 35 upvotes · 4 comments

## Summary

WordPress now supports PHP-only block registration, allowing developers to create simple blocks without any JavaScript. By calling register_block_type with the new autoRegister flag and a render_callback, blocks automatically appear in the editor. The editor also auto-generates Inspector Controls sidebar UI for supported attribute types, making it easier to build server-side-rendered blocks with minimal setup.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://make.wordpress.org/core/2026/03/03/php-only-block-registration/>

## Community discussion

Top comments from developers on daily.dev.

**@allinonetools** · 3 upvotes

> This is a nice improvement for WordPress developers. Being able to register simple blocks with just PHP will make server-side blocks much faster to build without setting up a full JavaScript workflow.

**@kmfoysal06** · 1 upvotes

> It’s a really helpful improvement. Now I’m going to work on one of my old projects, as it was messy with unnecessary interactivity and a lot of pointless hassle just to render a simple ‘Hello World.’ :')

**@confidentcoding** · 0 upvotes

> This is great! They say its not supposed to be as featureful....but where is it documented where that upper limit is?

**@aiiddqd** · 0 upvotes

> I've been waiting for this for the last 5 years)

## Similar posts on daily.dev

- [Streamlining block theme development with WordPress Playground and GitHub](https://daily.dev/posts/streamlining-block-theme-development-with-wordpress-playground-and-github-jz5rpxtj8) · WordPress Developer · 0 upvotes · 0 comments
- [Snippet: How to add custom blocks to navigation menus](https://daily.dev/posts/snippet-how-to-add-custom-blocks-to-navigation-menus-oadbqqtqh) · WordPress Developer · 1 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#php](https://daily.dev/tags/php), [#wordpress](https://daily.dev/tags/wordpress)

[View this post on daily.dev](https://daily.dev/posts/php-only-block-registration-qpsrxxzqq)
