nav menu (nav_menu) (tag)

_wp_menu_item_classes_by_context()

Service function. Fills the classes property of the menu item object.

get_nav_menu_locations()

Gets an array of registered menu areas (menu locations) and the menu IDs attached to each area.

has_nav_menu()

Checks if a registered menu location has a menu assigned to it. Conditional tag.

is_nav_menu()

Checks for the existence of a menu by its ID, slug, or name.

register_nav_menu()

Registers one location (place) for the menu, to which a menu can then be attached in the admin panel.

register_nav_menus()

Registers multiple custom navigation menus locations for a theme, to which the menus are then attached.

unregister_nav_menu()

Deletes a previously registered navigation menu.

Walker_Nav_Menu{}

The core class of WordPress that generates the HTML code for the navigation menu items list of WordPress.

wp_get_nav_menu_items()

Gets the navigation menu items as an array.

wp_get_nav_menu_name()

Gets the menu name for the specified location in the admin.

wp_get_nav_menu_object()

Gets the WordPress menu object. Returns only the menu object itself without the items in it.

wp_get_nav_menus()

Gets an array (of objects) of all menus from the database.

wp_nav_menu()

Outputs the menu created in the admin panel: "Appearance > Menus".

wp_nav_menu_post_type_meta_boxes()

Creates a meta-box for any post type in the accordion on the menu creation page.

wp_nav_menu_taxonomy_meta_boxes()

Creates a meta box for any taxonomy in an accordion on the menu creation page.