A WordPress-centric search engine for devs and theme authors



wp_update_nav_menu ›

Since3.0.0
Deprecatedn/a
do_action( 'wp_update_nav_menu', $menu_id, $menu_data )
Parameters: (2)
  • (int) $menu_id ID of the updated menu.
    Required: Yes
  • (array) $menu_data An array of menu data.
    Required: Yes
Defined at:
Codex:

Fires after a navigation menu has been successfully updated.





Source

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