WordPress / WordPress/block-development-examples

Update block registration method to use wp_register_block_types_from_metadata_collection on all examples

Open
#138 0 comments 1 reaction 1 assignee View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.