WPYVR Demo Plugin
A demo for the March 2026 WPYVR Meetup to show how to auto register PHP-only custom blocks in WordPress 7.0.
by Jonathon Leathers · github.com/jtleathers/wpyvr-php-custom-blocks · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/jtleathers/wpyvr-php-custom-blocks/archive/refs/heads/main.zipDeclares an update source (false), so updates arrive through the plugin's own updater.
From the readme
As of March 2026, this requires the Gutenberg plugin and the WordPress 7.0 beta.
Additional resources:
- https://developer.wordpress.org/block-editor/getting-started/fundamentals/registration-of-a-block/#php-only-blocks-with-auto-registration
- https://developer.wordpress.org/reference/functions/registerblocktype/
- https://github.com/WordPress/gutenberg/pull/73556