Menu
wpseek
mobile
Search
is_nav_menu
is_nav_menu
(
$menu
)
Parameters:
(int|string|WP_Term)
menu
Menu ID, slug, name, or object of menu to check.
Returns:
(bool) Whether the menu exists.
Defined at:
wp-includes/nav-menu.php
, line 62
Introduced in WordPress:
3.0.0
Deprecated in WordPress:
—
Description
Determines whether the given ID is a navigation menu.Returns true if it is; false otherwise.
Related Functions
has_nav_menu
,
wp_nav_menu
,
is_nav_menu_item
,
register_nav_menu
,
register_nav_menus
Top Google Results
User discussions
More ...
New topic ...
wpseek
mobile
Recently added
1
wp_render_empty_block_template_warning
My Bookmarks
- Soon -
About
Imprint
Privacy Policy