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.
1478* children of the `core/navigation` block.1479*1480* @since 5.9.01481*1482* @param array[]$fallback_blocksdefault fallback blocks provided by the default block mechanic.1483*/1484returnapply_filters('block_core_navigation_render_fallback',$fallback_blocks);1485}14861487/**1488* Iterate through all inner blocks recursively and get navigation link block's post IDs.1489*1490* @since 6.0.0
History
Introduced in 5.9.0. Unchanged from 6.7.7 through 7.1.0.