wpseek.com
WordPress开发者和主题制作者的搜索引擎
insert_hooked_blocks_and_set_ignored_hooked_blocks_metadata is private and should not be used in themes or plugins directly.
insert_hooked_blocks_and_set_ignored_hooked_blocks_metadata › WordPress Function
Since6.6.0
已弃用n/a
› insert_hooked_blocks_and_set_ignored_hooked_blocks_metadata ( $parsed_anchor_block, $relative_position, $hooked_blocks, $context )
访问: |
|
参数: (4) |
|
返回: |
|
定义在: |
|
文档: |
Returns the markup for blocks hooked to the given anchor block in a specific relative position and then adds a list of hooked block types to an anchor block's ignored hooked block types.
This function is meant for internal use only.源码
function insert_hooked_blocks_and_set_ignored_hooked_blocks_metadata( &$parsed_anchor_block, $relative_position, $hooked_blocks, $context ) { $markup = insert_hooked_blocks( $parsed_anchor_block, $relative_position, $hooked_blocks, $context ); $markup .= set_ignored_hooked_blocks_metadata( $parsed_anchor_block, $relative_position, $hooked_blocks, $context ); return $markup; }