wp_nav_menu_item_custom_fields_customize_template WordPress Action Hook
The wp_nav_menu_item_custom_fields_customize_template hook allows custom fields to be added to the menu item customization screen in the WordPress admin area. This hook is useful for adding custom data to menu items, such as specifying a CSS class or link target.
do_action( 'wp_nav_menu_item_custom_fields_customize_template' ) #
Fires at the end of the form field template for nav menu items in the customizer.
Description
Additional fields can be rendered here and managed in JavaScript.
Source
File: wp-includes/customize/class-wp-customize-nav-menu-item-control.php
Changelog
Version | Description |
---|---|
5.4.0 | Introduced. |