WordPress / WordPress/block-development-examples
Update block registration method to use wp_register_block_types_from_metadata_collection on all examples
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 334
- Forks
- 52
- PR merge metrics
- No merged PRs in 30d
Description
wp_register_block_types_from_metadata_collection is the recommended method to register a block in latest WordPress releases and the one set in create-block tool by default
The examples in this repo need to be updated to use this new way of registering blocks.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.