Fires just before the move buttons of a nav menu item in the menu editor.
$item_idstring
$menu_itemWP_Post
$depthint
$argsstdClass|null
$current_object_idint
do_action( 'wp_nav_menu_item_custom_fields', $item_id, $menu_item, $depth, $args, $current_object_id );
| Version | Description |
|---|---|
| 5.4.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_nav_menu_item_custom_fields