How to serialize a Gutenberg block from block attributes in PHP?
This markup is generated on the js side of things and saved in the content of the block editor, which is why there doesn’t seem to be a native PHP function for this. However, I found a PHP method that does exactly this in an “experimental” class in the Gutenberg plugin. You can see this … Read more