Skip to content

Update/create block interactive template - #74763

Closed
Raxen001 wants to merge 2 commits into
WordPress:trunkfrom
Raxen001:update/create-block-interactive-template
Closed

Raxen001 wants to merge 2 commits into
WordPress:trunkfrom
Raxen001:update/create-block-interactive-template

Conversation

@Raxen001

Copy link
Copy Markdown
Contributor

What?

Closes: #74701

Update the interactive block template to use the new wp_register_block_types_from_metadata_collection.

Why?

Improvement to developer experience.

How?

Following similar to https://github.com/WordPress/gutenberg/blob/trunk/packages/create-block/lib/templates/plugin/%24slug.php.mustache create-block update to wp_register_block_types_from_metadata_collection

Testing Instructions

cd packages/create-block
node index.js --template ../create-block-interactive-template/ 

Testing Instructions for Keyboard

Screenshots or screencast

Before After

@github-actions github-actions Bot added the First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository label Jan 20, 2026
@github-actions

Copy link
Copy Markdown

👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @Raxen001! In case you missed it, we'd love to have you join us in our Slack community.

If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information.

@Raxen001
Raxen001 marked this pull request as ready for review January 20, 2026 10:57
@github-actions

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @Raxen001.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Unlinked contributors: Raxen001.

Co-authored-by: juanmaguitar <juanmaguitar@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@github-actions

Copy link
Copy Markdown

Warning: Type of PR label mismatch

To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.

  • Required label: Any label starting with [Type].
  • Labels found: First-time Contributor.

Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task.

@youknowriad

Copy link
Copy Markdown
Contributor

Thanks for this, @Raxen001! The same update to use the efficient block registration APIs landed in #76317, and #74701 is closed. I'm closing this as superseded. Please feel free to reopen it if something from your version is still missing.

@youknowriad youknowriad closed this Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update @wordpress/create-block-interactive-template to use WordPress 6.8 efficient block registration APIs

2 participants