Check what Gutenberg blocks are in post_content
I’m working on a design that has different styling if a certain Gutenberg block is present on a page. In other words, if the first block is a custom built Gutenberg block, the post_title is rendered elsewhere due to design choices made. Is there any function in WordPress to get a list of all Gutenberg … Read more