WordPress开发者和主题制作者的搜索引擎



wp_delete_nav_menu ›

Since3.0.0
已弃用n/a
do_action( 'wp_delete_nav_menu', $menu->term_id )
参数:
  • (int) $term_id ID of the deleted menu.
    Required: Yes
定义在:
文档:

Fires after a navigation menu has been successfully deleted.





源码

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