wp_nav_menu_disabled_check
wp_nav_menu_disabled_check ( $nav_menu_selected_id, $display = true )
Parameters:- (int|string) nav_menu_selected_id ID, name, or slug of the currently selected menu.
- (bool) display Whether to display or just return the string.
Returns:- (string|false) Disabled attribute if at least one menu exists, false if not.
Defined at:Change Log: - Introduced in WordPress: 3.6.0
- Deprecated in WordPress: —
Description
Check whether to disable the Menu Locations meta box submit button and inputs.