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



wp_update_nav_menu ›

Since3.0.0
已弃用n/a
do_action( 'wp_update_nav_menu', $menu_id, $menu_data )
参数: (2)
  • (int) $menu_id ID of the updated menu.
    Required: Yes
  • (array) $menu_data An array of menu data.
    Required: Yes
定义在:
文档:

Fires after a navigation menu has been successfully updated.





源码

do_action( 'wp_update_nav_menu', $menu_id, $menu_data );