wp_delete_nav_menu


wp_delete_nav_menu ( $menu )

Parameters:
  • (int|string|WP_Term) menu Menu ID, slug, name, or object.
Returns:
  • (bool|WP_Error) True on success, false or WP_Error object on failure.
Defined at:

Description

Deletes a navigation menu.

Related Functions

wp_create_nav_menu, wp_get_nav_menus, _wp_delete_tax_menu_item, wp_nav_menu, wp_delete_attachment

Top Google Results

User discussions

wpseek mobile