WordPress at a glance
action is not described

wp_nav_menu_item_custom_fields action-hook . WP 5.4.0

Fires just before the move buttons of a nav menu item in the menu editor.

Использование

add_action( 'wp_nav_menu_item_custom_fields', 'action_function_name_6376', 10, 5 );
function action_function_name_6376( $item_id, $item, $depth, $args, $id ){
	// action...
}
$item_id(int)
Menu item ID.
$item(WP_Post)
Menu item data object.
$depth(int)
Depth of menu item. Used for padding.
$args(stdClass)
An object of menu item arguments.
$id(int)
Nav menu ID.

Changelog

Since 5.4.0 Introduced.

Where the hook is called

Walker_Nav_Menu_Edit::start_el()
wp_nav_menu_item_custom_fields
wp-admin/includes/class-walker-nav-menu-edit.php 242
do_action( 'wp_nav_menu_item_custom_fields', $item_id, $item, $depth, $args, $id );

Where in WP core the hook is used WordPress

Usage not found.