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

$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.


Top ↑

Source Source

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

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
5.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes