Filters the parsed block array for a given hooked block.
$parsed_hooked_blockarray|null$hooked_block_typestring$relative_positionstring$parsed_anchor_blockarray$contextWP_Block_Template|WP_Post|arraywp-includes/blocks.php:990insert_hooked_blocks()wp-includes/blocks.php:1061set_ignored_hooked_blocks_metadata() * @param string $hooked_block_type The hooked block type name. * @param string $relative_position The relative position of the hooked block. * @param array $parsed_anchor_block The anchor block, in parsed block array format. * @param WP_Block_Template|WP_Post|array $context The block template, template part, post object, * or pattern that the anchor block belongs to. */ $parsed_hooked_block = apply_filters( 'hooked_block', $parsed_hooked_block, $hooked_block_type, $relative_position, $parsed_anchor_block, $context ); /** * Filters the parsed block array for a given hooked block. * * The dynamic portion of the hook name, `$hooked_block_type`, refers to the block type name of the specific hooked block. *Introduced in 6.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.