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



wp_delete_nav_menu › WordPress Action Hooks

Since3.0.0
Deprecatedn/a
do_action( 'wp_delete_nav_menu', $menu->term_id )
Parameters:
  • (int) $term_id ID of the deleted menu.
    Required: Yes
Defined at:
Codex:

Fires after a navigation menu has been successfully deleted.





Source

do_action( 'wp_delete_nav_menu', $menu->term_id );