WordPress/wp-includes/interactivity-api
gziolo b23d47efe7 Interactivity API: Move directive processing to WP_Block class
Integrates the directives processing into the WP_Block class. It removes the overhead of running additional hooks when rendering blocks and simplifies the way we detect whether the directive processing should run on an interactive region of the produced final HTML for the blocks.

Introduces `interactivity_process_directives` filter to offer a way to opt out from directives processing. It's needed in Gutenberg: https://github.com/WordPress/gutenberg/pull/62095.

Props gziolo, cbravobernal.
Fixes #61185.


Built from https://develop.svn.wordpress.org/trunk@58234


git-svn-id: http://core.svn.wordpress.org/trunk@57697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-05-29 11:57:08 +00:00
..
class-wp-interactivity-api-directives-processor.php HTML API: Fix token length bug in Tag Processor. 2024-05-29 11:42:08 +00:00
class-wp-interactivity-api.php Improve legibility of JSON-encoded Interactivity API store data. 2024-05-15 17:42:10 +00:00
interactivity-api.php Interactivity API: Move directive processing to WP_Block class 2024-05-29 11:57:08 +00:00