A WordPress-centric search engine for devs and theme authors

wp-includes/nav-menu-template.php › WordPress File

Nav Menu API: Template functions

Function Short description
walk_nav_menu_treeRetrieves the HTML list content for nav menu items.
wp_nav_menuDisplays a navigation menu.
wp_nav_menu_remove_menu_item_has_children_classRemove the `menu-item-has-children` class from bottom level menu items.
_nav_menu_item_id_use_oncePrevents a menu item ID from being used more than once.
_wp_menu_item_classes_by_contextAdds the class property classes for the current context, if applicable.