WordPress开发者和主题制作者的搜索引擎



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

功能4
Nav Menu API: Template functions


Function Short description
walk_nav_menu_treeRetrieve the HTML list content for nav menu items.
wp_nav_menuDisplays a navigation menu.
_nav_menu_item_id_use_oncePrevents a menu item ID from being used more than once.
_wp_menu_item_classes_by_contextAdd the class property classes for the current context, if applicable.