wp_interactivity_process_directives_of_interactive_blocks()
Deprecated from version 6.6.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.
Processes the directives on the rendered HTML of the interactive blocks.
This processes only one root interactive block at a time because the rendered HTML of that block contains the rendered HTML of all its inner blocks, including any interactive block. It does so by ignoring all the interactive inner blocks until the root interactive block is processed.
No Hooks.
Returns
Array
. The same parsed block.
Usage
wp_interactivity_process_directives_of_interactive_blocks( $parsed_block ): array;
- $parsed_block(array) (required)
- The parsed block.
Changelog
Since 6.5.0 | Introduced. |
Deprecated since | 6.6.0 |
wp_interactivity_process_directives_of_interactive_blocks() wp interactivity process directives of interactive blocks code WP 6.8.1
function wp_interactivity_process_directives_of_interactive_blocks( array $parsed_block ): array { _deprecated_function( __FUNCTION__, '6.6.0' ); return $parsed_block; }