Block filters are an incredibly useful item in the WordPress developers’ tool kit. Not only do they offer a low-barrier of entry to level up your skills in preparation for building your own React powered component, just like alchemy they also allow us to transmute the current editor experience making it magical for our users.

Recently, I spoke at WordCamp Lancaster on the transformative nature of using Block Filters. While the WordPress Design and Development Handbook documents several filters, it is easiest by far to understand the benefit of filters using the wp.blocks.registerBlockStyle which registers a new style for the image block.

Very cool, right? Like I told the lady in the audience at my talk, it’s also a big win for the admin users working in the new editor. It puts new functionality right where it belongs, on the image block. No more hunting around or adding a new block to the growing list of blocks. #developmentforthewin