do_action( ‘wp_delete_nav_menu’, int $term_id )

In this article

Fires after a navigation menu has been successfully deleted.

Parameters

$term_idint
ID of the deleted menu.

Source

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

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.