is_nav_menu Wordpress function


Description:

Check if the given ID is a navigation menu.


Syntax:


Arguments:

(int|string) $menu The menu to check (id, slug, or name)


Return Type:

(bool) Whether the menu exists.


Define At:

wp-includes/nav-menu.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/is_nav_menu


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×