multiple-blocks-plugin
multiple-blocks-plugin copied to clipboard
Alternative multiple block setup
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 .