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_filter_out_empty_blocks, block_core_navigation_link_build_css_colors, block_core_navigation_build_css_colors, block_core_navigation_get_menu_items_at_location, block_core_navigation_link_build_css_font_sizes

Top Google Results

User discussions

wpseek mobile