File: wp-includes/nav-menu.php
-
Filters whether to short-circuit the wp_setup_nav_menu_item() output.
-
Prevents menu items from being their own parent.
-
functionupdate_menu_item_cache()
Updates post and term caches for all linked objects for a list of menu items.
-
function_wp_menus_changed()
Handles menu config after theme change.
-
functionwp_map_nav_menu_locations()
Maps nav menu locations according to assignments in previously active theme.
-
Filters the navigation menu name being returned.
-
functionwp_get_nav_menu_name()
Returns the name of a navigation menu.
-
Deletes auto-draft posts associated with the supplied changeset.
-
Fires immediately after a new navigation menu item has been added.
-
hookhas_nav_menu
Filters whether a nav menu is assigned to the specified location.
-
Filters the nav_menu term retrieved for wp_get_nav_menu_object().
-
functionwp_setup_nav_menu_item()
Decorates a menu item object with the shared navigation menu item properties.
-
Filters a navigation menu item’s title attribute.
-
Filters a navigation menu item’s description.
-
Filters a navigation menu item object.
-
Returns the menu items associated with a particular object.
-
function_wp_delete_post_menu_item()
Callback for handling a menu item when its original object is deleted.
-
function_wp_delete_tax_menu_item()
Serves as a callback for handling a menu item when its original object is deleted.
-
function_wp_auto_add_pages_to_menu()
Automatically add newly published page objects to menus with that as an option.
-
Filters the navigation menu items being returned.
-
Fires after a navigation menu has been successfully deleted.
-
functionwp_update_nav_menu_object()
Saves the properties of a menu or create a new menu with those properties.
-
Fires after a navigation menu is successfully created.
-
Fires after a navigation menu has been successfully updated.
-
functionwp_update_nav_menu_item()
Saves the properties of a menu item or create a new one.
-
Fires after a navigation menu item has been updated.
-
functionwp_get_nav_menus()
Returns all navigation menu objects.
-
functionhas_nav_menu()
Determines whether a registered nav menu location has a menu assigned to it.
-
hookwp_get_nav_menus
Filters the navigation menu objects being returned.
-
functionis_nav_menu_item()
Determines whether the given ID is a nav menu item.