wp_interactivity_process_directives_of_interactive_blocks


wp_interactivity_process_directives_of_interactive_blocks ( $parsed_block )

Parameters:
  • (array) parsed_block The parsed block.
Returns:
  • (array) The same parsed block.
Defined at:

Description

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.

Related Functions

wp_interactivity_process_directives, wp_interactivity_get_context, wp_interactivity_data_wp_context, wp_interactivity_config, wp_interactivity_state

Top Google Results

User discussions

wpseek mobile