WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/wp nav menu disabled check

Contents

Description

Check whether to disable the Menu Locations meta box submit button.

Parameters

$nav_menu_selected_id
(mixed) (required) id, name or slug of the currently-selected menu
Default: None

Return

(string) 
Disabled attribute if at least one menu exists, false if not

Usage

 <?php  ?> 

Example

Description text

Example code

Change Log

Source File

wp_nav_menu_disabled_check() is located in wp-admin/includes/nav-menu.php.

Related

Function ref links

This article is marked as in need of editing. You can help Codex by editing it.