multiple-blocks-plugin icon indicating copy to clipboard operation
multiple-blocks-plugin copied to clipboard

Alternative multiple block setup

Open Wtower opened this issue 2 years ago • 0 comments

Hello and thank you for your excellent walkthrough for having multiple blocks in a single plugin. It certainly helped me understand better the block API.

It occurred to me that it is possible to place all blocks under the src/ folder. That way, we avoid having multiple build scripts running for each block. We only have to register them all in the plugin php file.

This addresses issue #2 .

Wtower avatar Apr 17 '23 08:04 Wtower