wpseek.com
A WordPress-centric search engine for devs and theme authors



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

Functions27
Navigation Menu functions


Function Short description
get_nav_menu_locationsRetrieves all registered navigation menu locations and the menus assigned to them.
get_registered_nav_menusRetrieves all registered navigation menu locations in a theme.
has_nav_menuDetermines whether a registered nav menu location has a menu assigned to it.
is_nav_menuDetermines whether the given ID is a navigation menu.
is_nav_menu_itemDetermines whether the given ID is a nav menu item.
register_nav_menuRegisters a navigation menu location for a theme.
register_nav_menusRegisters navigation menu locations for a theme.
unregister_nav_menuUnregisters a navigation menu location for a theme.
update_menu_item_cacheUpdates post and term caches for all linked objects for a list of menu items.
wp_create_nav_menuCreates a navigation menu.
wp_delete_nav_menuDeletes a navigation menu.
wp_get_associated_nav_menu_itemsReturns the menu items associated with a particular object.
wp_get_nav_menusReturns all navigation menu objects.
wp_get_nav_menu_itemsRetrieves all menu items of a navigation menu.
wp_get_nav_menu_nameReturns the name of a navigation menu.
wp_get_nav_menu_objectReturns a navigation menu object.
wp_map_nav_menu_locationsMaps nav menu locations according to assignments in previously active theme.
wp_setup_nav_menu_itemDecorates a menu item object with the shared navigation menu item properties.
wp_update_nav_menu_itemSaves the properties of a menu item or create a new one.
wp_update_nav_menu_objectSaves the properties of a menu or create a new menu with those properties.
_is_valid_nav_menu_itemDetermines whether a menu item is valid.
_wp_auto_add_pages_to_menuAutomatically add newly published page objects to menus with that as an option.
_wp_delete_customize_changeset_dependent_auto_draftsDeletes auto-draft posts associated with the supplied changeset.
_wp_delete_post_menu_itemCallback for handling a menu item when its original object is deleted.
_wp_delete_tax_menu_itemServes as a callback for handling a menu item when its original object is deleted.
_wp_menus_changedHandles menu config after theme change.
_wp_reset_invalid_menu_item_parentPrevents menu items from being their own parent.