wpseek.com
A WordPress-centric search engine for devs and theme authors
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
Deprecatedn/a
› insert_hooked_blocks_and_set_ignored_hooked_blocks_metadata ( $parsed_anchor_block, $relative_position, $hooked_blocks, $context )
Access: |
|
Parameters: (4) |
|
Returns: |
|
Defined at: |
|
Codex: |
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.Source
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; }