Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_delete_nav_menu ›

Desde3.0.0
Obsoleton/a
do_action( 'wp_delete_nav_menu', $menu->term_id )
Parâmetros:
  • (int) $term_id ID of the deleted menu.
    Required: Yes
Definido em:
Codex:

Fires after a navigation menu has been successfully deleted.





Fonte

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