wp_nav_menu_disabled_check


wp_nav_menu_disabled_check ( $nav_menu_selected_id )

Parameters:
  • (int|string) $nav_menu_selected_id (id, name or slug) of the currently-selected menu
Returns:
  • (string) Disabled attribute if at least one menu exists, false if not
Defined at:

Description

Check whether to disable the Menu Locations meta box submit button

Related Functions

wp_nav_menu_setup, wp_nav_menu_max_depth, wp_get_nav_menu_object, wp_nav_menu_update_menu_items, wp_link_manager_disabled_message

Top Google Results

User discussions

wpseek mobile