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|array
wp_navigation post type, 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 );
| Version | Description |
|---|---|
| 6.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/hooked_block