File structure of a block

It is recommended to register blocks within plugins to ensure they stay available when a theme gets switched. With the create-block tool you can quickly scaffold the structure of the files required to create a plugin that registers a block.

This post was originally published on Make Documentation by .

Follow us

Don't be shy, get in touch. We love meeting interesting people and making new friends.