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
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
Wondering about the slides? The link here goes to an HTML version of the slides used, which I created using a custom plugin I’m currently working on to allow you to use the popular Reveal.JS in the WordPress editor. It’s still cooking. Check back for updates.