Filters the fallback experience for the Navigation block.
Description
Returning a falsey value will opt out of the fallback and cause the block not to render.To customise the blocks provided return an array of blocks - these should be valid children of the core/navigation block.
Parameters
$fallback_blocksarray[]
default fallback blocks provided by the default block mechanic.
1088* children of the `core/navigation` block.1089*1090* @since 5.9.01091*1092* @param array[]$fallback_blocksdefault fallback blocks provided by the default block mechanic.1093*/1094returnapply_filters('block_core_navigation_render_fallback',$fallback_blocks);1095}10961097/**1098* Iterate through all inner blocks recursively and get navigation link block's post IDs.1099*1100* @since 6.0.0
History
Introduced in 5.9.0. Unchanged from 6.7.7 through 7.1.0.