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_post_ids, block_core_navigation_filter_out_empty_blocks, block_core_navigation_from_block_get_post_ids, block_core_navigation_link_build_css_colors, block_core_navigation_build_css_colors

Top Google Results

User discussions

wpseek mobile