W3cubDocs

/WordPress

wp_interactivity_process_directives_of_interactive_blocks( array $parsed_block ): array

Processes the directives on the rendered HTML of the interactive blocks.

Description

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.

Parameters

$parsed_blockarrayrequired
The parsed block.

Return

array The same parsed block.

Source

function wp_interactivity_process_directives_of_interactive_blocks( array $parsed_block ): array {
	_deprecated_function( __FUNCTION__, '6.6.0' );
	return $parsed_block;
}

Changelog

Version Description
6.6.0 This function has been deprecated.
6.5.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_interactivity_process_directives_of_interactive_blocks