Skip to content

Update block registration method to use wp_register_block_types_from_metadata_collection on all examples #138

@juanmaguitar

Description

@juanmaguitar

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions