wp_nav_menu_item_custom_fields
wp_nav_menu_item_custom_fields
Appears in: advanced-custom-fields.5.10, advanced-custom-fields.5.10.1, advanced-custom-fields.5.10.2, advanced-custom-fields.5.12, advanced-custom-fields.5.12.1, advanced-custom-fields.5.12.2, advanced-custom-fields.5.12.3, advanced-custom-fields.5.7.10, advanced-custom-fields.5.7.12, advanced-custom-fields.5.7.6, advanced-custom-fields.5.7.7, advanced-custom-fields.5.7.8, advanced-custom-fields.5.7.9, advanced-custom-fields.5.8.0, advanced-custom-fields.5.8.1, advanced-custom-fields.5.8.11, advanced-custom-fields.5.8.12, advanced-custom-fields.5.8.13, advanced-custom-fields.5.8.14, advanced-custom-fields.5.8.2, advanced-custom-fields.5.8.3, advanced-custom-fields.5.8.5, advanced-custom-fields.5.8.7, advanced-custom-fields.5.8.8, advanced-custom-fields.5.8.9, advanced-custom-fields.5.9.0, advanced-custom-fields.5.9.1, advanced-custom-fields.5.9.3, advanced-custom-fields.5.9.4, advanced-custom-fields.5.9.5, advanced-custom-fields.5.9.6, advanced-custom-fields.5.9.7, advanced-custom-fields.5.9.8, advanced-custom-fields.5.9.9, advanced-custom-fields.6.0.2, advanced-custom-fields.6.0.3, advanced-custom-fields.6.0.4, advanced-custom-fields.6.0.5, advanced-custom-fields.6.0.6, advanced-custom-fields.6.0.7, advanced-custom-fields.6.1.4, advanced-custom-fields.6.1.6, advanced-custom-fields.6.1.7, advanced-custom-fields.6.2.0, advanced-custom-fields.6.2.1, wordpress-5.4, wordpress-5.4.1, wordpress-5.4.2, wordpress-5.5, wordpress-5.5.1, wordpress-5.5.2, wordpress-5.5.3, wordpress-5.6, wordpress-5.6.1, wordpress-5.6.2, wordpress-5.7, wordpress-5.7.1, wordpress-5.7.2, wordpress-5.8, wordpress-5.8.1, wordpress-5.8.2, wordpress-5.8.3, wordpress-5.9, wordpress-5.9.1, wordpress-5.9.2, wordpress-5.9.3, wordpress-6.0, wordpress-6.0.1, wordpress-6.0.2, wordpress-6.0.3, wordpress-6.1, wordpress-6.1.1, wordpress-6.2, wordpress-6.2.1, wordpress-6.2.2, wordpress-6.3, wordpress-6.3.1, wordpress-6.3.2, wordpress-6.4, wordpress-6.4.1, wordpress-6.4.2, wordpress-6.4.3, wordpress-6.5, wordpress-6.5.2, wordpress-6.5.3, wordpress-6.5.4, wordpress-6.5.5, wordpress-6.6, wordpress-6.6.1, wordpress-6.6.2, wordpress-6.7
Hook Type: action
See hook in action
Displaying hooks found in version: wordpress-6.7do_action('wp_nav_menu_item_custom_fields') is found 1 times:
- /wp-admin/includes/class-walker-nav-menu-edit.php line 280
* @param int $depth Depth of menu item. Used for padding. * @param stdClass|null $args An object of menu item arguments. * @param int $current_object_id Nav menu ID. */ do_action( 'wp_nav_menu_item_custom_fields', $item_id, $menu_item, $depth, $args, $current_object_id ); ?> <fieldset class="field-move hide-if-no-js description description-wide"> <span class="field-move-visual-label" aria-hidden="true"><?php _e( 'Move' ); ?></span> <button type="button" class="button-link menus-move menus-move-up" data-dir="up"><?php _e( 'Up one' ); ?></button> <button type="button" class="button-link menus-move menus-move-down" data-dir="down"><?php _e( 'Down one' ); ?></button>