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.
1092* children of the `core/navigation` block.1093*1094* @since 5.9.01095*1096* @param array[]$fallback_blocksdefault fallback blocks provided by the default block mechanic.1097*/1098returnapply_filters('block_core_navigation_render_fallback',$fallback_blocks);1099}11001101/**1102* Iterate through all inner blocks recursively and get navigation link block's post IDs.1103*1104* @since 6.0.0
History
Introduced in 5.9.0. Unchanged from 6.7.7 through 7.1.0.