wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_interactivity_process_directives_of_interactive_blocks › WordPress Function

Since6.5.0
已弃用6.6.0
› wp_interactivity_process_directives_of_interactive_blocks ( $parsed_block )
参数:
  • (array) $parsed_block The parsed block.
    Required: Yes
返回:
  • (array) The same parsed block.
定义在:
文档:

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.


源码

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