# WordPress PHP-Only Block Registration

DevFeed: [WordPress PHP-Only Block Registration](<https://devfeed.tech/articles/wordpress-php-only-block-registration-4268.md>)

Original publisher: [Read original article](<https://css-tricks.com/wordpress-php-block-registration/>)

Author: Fränk Klein

Published: 2026-08-24T13:54:02Z

Content type: tutorial

Language: en

Sources: [CSS-Tricks](<https://devfeed.tech/sources/css-tricks.md>)

Topics: [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [articles](<https://devfeed.tech/tags/articles.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [php](<https://devfeed.tech/tags/php.md>), [rest-api](<https://devfeed.tech/tags/rest-api.md>), [wordpress](<https://devfeed.tech/tags/wordpress.md>), [wordpress-blocks](<https://devfeed.tech/tags/wordpress-blocks.md>)

## AI overview

WordPress 7.0 adds PHP-only block registration, generating the JavaScript registration, editor preview, and sidebar controls from PHP definitions. The article explains the approach and its limits, including reduced interaction within the block preview.

## Source excerpt

Seven and half years after blocks arrived in Core, WordPress introduces a way to build blocks without React annd build pipelines. All you need is PHP. WordPress PHP-Only Block Registration originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well.