wphooks.info - wp_update_nav_menu_item

wp_update_nav_menu_item

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/nav-menu.php:
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
	 * Fires after a navigation menu item has been updated.
	 *
	 * @since 3.0.0
	 *
	 * @see wp_update_nav_menu_item()
	 *
	 * @param int   $menu_id         ID of the updated menu.
	 * @param int   $menu_item_db_id ID of the updated menu item.
	 * @param array $args            An array of arguments used to update a menu item.
	 */
	do_action( 'wp_update_nav_menu_item', $menu_id, $menu_item_db_id, $args );

	return $menu_item_db_id;
}

/**
 * Returns all navigation menu objects.
 *
 * @since 3.0.0
 * @since 4.1.0 Default value of the 'orderby' argument was changed from 'none'