wphooks.info - wp_delete_nav_menu

wp_delete_nav_menu

The hook occurs in the following file:

wp-includes/nav-menu.php:
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
	if ( $result && !is_wp_error($result) )

		/**
		 * Fires after a navigation menu has been successfully deleted.
		 *
		 * @since 3.0.0
		 *
		 * @param int $term_id ID of the deleted menu.
		 */
		do_action( 'wp_delete_nav_menu', $menu->term_id );

	return $result;
}

/**
 * Save the properties of a menu or create a new menu with those properties.
 *
 * Note that `$menu_data` is expected to be pre-slashed.
 *