block_core_navigation_get_menu_items_at_location
block_core_navigation_get_menu_items_at_location ( $location )
Parameters:- (string) location The menu location.
Returns:- (array) Menu items for the location.
Defined at: - Introduced in WordPress: 5.9.0
- Deprecated in WordPress: —
Description
Returns the menu items for a WordPress menu location.