W3cubDocs

/WordPress

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_idint
ID of the updated menu.
$menu_item_db_idint
ID of the updated menu item.
$argsarray
An array of arguments used to update a menu item.

Source

do_action( 'wp_update_nav_menu_item', $menu_id, $menu_item_db_id, $args );

Changelog

Version Description
3.0.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_update_nav_menu_item