wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
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
Depuis6.6.0
Dépréciéen/a
› insert_hooked_blocks_and_set_ignored_hooked_blocks_metadata ( $parsed_anchor_block, $relative_position, $hooked_blocks, $context )
| Accès: |
|
| Paramètres: (4) |
|
| Retourne: |
|
| Défini(e) dans: |
|
| 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;
}