block_core_navigation_get_fallback_blocks ( No parameters )

  • (array) the array of blocks to be used as a fallback.
Defined at:


Retrieves the appropriate fallback to be used on the front of the site when there is no menu assigned to the Nav block.This aims to mirror how the fallback mechanic for wp_nav_menu works. See

Related Functions

block_core_navigation_get_classic_menu_fallback_blocks, block_core_navigation_insert_hooked_blocks, block_core_navigation_get_classic_menu_fallback, block_core_navigation_get_post_ids, block_core_navigation_mock_parsed_block

Top Google Results

User discussions

wpseek mobile