@_pbrocks @WordCampLanc @paulbarthmaier Your a man of many names.
@WordCampLanc @paulbarthmaier In my own view I think block filters are important because they enable flexibility for developers to customize blocks to meet their needs without having to redo the whole block. Actions and filters are key to making WordPress more flexible.
@WordCampLanc @paulbarthmaier “Why are block filters important for the user editor interface?”
“I dunno, I’m a developer” – @_pbrocks
@WordCampLanc @paulbarthmaier PHP Block example from @GaryPendergast gist.github.com/pento/cf38fd73ce…
@WordCampLanc @paulbarthmaier When you create a block all of the data for that block winds up in the database via an HTML comment embedded into the post_content field where the block should be rendered.
@WordCampLanc @paulbarthmaier “With the advent of the new block editor, our shared understanding of development best practices is changing. It’s like the wild wild west all over again.”
@WordCampLanc @paulbarthmaier You can’t create a block with just PHP (yet) you do need a little bit of JavaScript.
@WordCampLanc @paulbarthmaier Block Filters in the Gutenberg Handbook wordpress.org/gutenberg/handbook…
@WordCampLanc @paulbarthmaier Block filters allow you to extend or change the functionality of a Gutenberg block.
Post lunch talks from @WordCampLanc continue.
Now listening in on @paulbarthmaier’s “Block Filters: The Answer to Customizing Blocks Without Rolling Your Own”