wp_update_nav_menu_item WordPress Action Hook
The wp_update_nav_menu_item hook is called when a navigation menu item is updated. This hook can be used to perform custom actions when a navigation menu item is updated.
do_action( 'wp_update_nav_menu_item', int $menu_id , int $menu_item_db_id , array $args ) #
Fires after a navigation menu item has been updated.
Description
See also
Parameters
- $menu_id
(int)ID of the updated menu.
- $menu_item_db_id
(int)ID of the updated menu item.
- $args
(array)An array of arguments used to update a menu item.
Source
File: wp-includes/nav-menu.php
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |