WordPress at Your Fingertips
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_1972', 10, 5 );
function action_function_name_1972( $item_id, $item, $depth, $args, $id ){
	// action...
Menu item ID.
Menu item data object.
Depth of menu item. Used for padding.
An object of menu item arguments.
Nav menu ID.


Since 5.4.0 Introduced.

Where the hook is called

wp-admin/includes/class-walker-nav-menu-edit.php 246
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.