block_core_navigation_get_first_non_empty_navigation


block_core_navigation_get_first_non_empty_navigation ( No parameters )

Returns:
  • (WP_Post|null) the first non-empty Navigation or null.
Defined at:

Description

Finds the first non-empty `wp_navigation` Post.

Related Functions

block_core_navigation_get_menu_items_at_location, block_core_navigation_filter_out_empty_blocks, block_core_navigation_get_fallback_blocks, block_core_navigation_sort_menu_items_by_parent_id, block_core_navigation_build_css_font_sizes

Top Google Results

User discussions

wpseek mobile