wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
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
Da6.6.0
Deprecaton/a
› insert_hooked_blocks_and_set_ignored_hooked_blocks_metadata ( $parsed_anchor_block, $relative_position, $hooked_blocks, $context )
| Accedi: |
|
| Parametri: (4) |
|
| Ritorna: |
|
| Definito a: |
|
| 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.Sorgenti
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;
}