'after' => [ 'with_innerhtml' => 'Get the whole story' ]
Use Case
As a developer, I want to be able to match the blocks in post content before or after a given block so that I can deliver the two halves of content in separate properties to a third-party application that composes the results in its own way.
Description
Inspired by the internal use case given here: https://l.alley.dev/7682a06198
The
before
andafter
parameters might accept an array ofmatch_block()
parameters, likeUse Case
As a developer, I want to be able to match the blocks in post content before or after a given block so that I can deliver the two halves of content in separate properties to a third-party application that composes the results in its own way.