August 26, 2022
The block variation API allows you to create “variations” of existing blocks. A variation differs from the original block by a predefined set of attributes or inner blocks. When the variation block is inserted into the Editor, it will have these attributes and/or inner blocks rather than those of the default block. Whew, sounds complicated, right?
In this online workshop, we will demystify block variations and demonstrate just how powerful they can be. Variations are a fundamental part of modern WordPress website development. In fact, many WordPress Core blocks that you use every day are actually variations!