Skip to content

Alternative multiple block setup #3

@Wtower

Description

@Wtower

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 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions