block_core_navigation_mock_parsed_block
block_core_navigation_mock_parsed_block ( $inner_blocks, $post )
Parameters:- (array) inner_blocks Parsed inner blocks of a Navigation block.
- (WP_Post) post `wp_navigation` post object corresponding to the block.
Returns:- (array) the normalized parsed blocks.
Defined at: - Introduced in WordPress: 6.5.0
- Deprecated in WordPress: —
Description
Mock a parsed block for the Navigation block given its inner blocks and the `wp_navigation` post object.The `wp_navigation` post's `_wp_ignored_hooked_blocks` meta is queried to add the `metadata.ignoredHookedBlocks` attribute.