wp_nav_menu_item_custom_fields_customize_template
Fires at the end of the form field template for nav menu items in the customizer.
Additional fields can be rendered here and managed in JavaScript.
Usage
add_action( 'wp_nav_menu_item_custom_fields_customize_template', 'wp_kama_nav_menu_item_custom_fields_customize_template_action' ); /** * Function for `wp_nav_menu_item_custom_fields_customize_template` action-hook. * * @return void */ function wp_kama_nav_menu_item_custom_fields_customize_template_action(){ // action... }
Changelog
Since 5.4.0 | Introduced. |
Where the hook is called
wp_nav_menu_item_custom_fields_customize_template
wp-includes/customize/class-wp-customize-nav-menu-item-control.php 145
do_action( 'wp_nav_menu_item_custom_fields_customize_template' );