do_action( 'wp_nav_menu_item_custom_fields', int $item_id, WP_Post $item, int $depth, stdClass $args, int $id )

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

Parameters Parameters


(int) Menu item ID.


(WP_Post) Menu item data object.


(int) Depth of menu item. Used for padding.


(stdClass) An object of menu item arguments.


(int) Nav menu ID.

Top ↑

Source Source

File: wp-admin/includes/class-walker-nav-menu-edit.php

View on Trac

Top ↑

Changelog Changelog

Version Description
5.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes