wpseek.com
A WordPress-centric search engine for devs and theme authors
block_core_navigation_render_fallback › WordPress Filter Hooks
Since5.9.0
Deprecatedn/a
› apply_filters( 'block_core_navigation_render_fallback', $fallback_blocks )
| Parameters: |
|
| Defined at: |
|
| Codex: |
Filters the fallback experience for the Navigation block.
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.Related Functions: block_core_navigation_get_fallback_blocks, block_core_navigation_get_classic_menu_fallback, block_core_navigation_render_submenu_icon, block_core_navigation_link_render_submenu_icon, block_core_navigation_get_classic_menu_fallback_blocks, block_core_navigation_maybe_use_classic_menu_fallback