Make WordPress Core

Ticket #47056: 47056-customize.diff

File 47056-customize.diff, 876 bytes (added by celloexpressions, 6 years ago)

Equivalent action for the nav menu item customize control template

  • wp-includes/customize/class-wp-customize-nav-menu-item-control.php

     
    132132                                </label>
    133133                        </p>
    134134
     135                        <?php
     136                        /**
     137                         * Fires at the end of the form field template for nav menu items in the customizer.
     138                         * Additional fields can be rendered here and managed in JavaScript.
     139                         *
     140                         * @since 5.4.0
     141                         */
     142                        do_action( 'wp_nav_menu_item_custom_fields_customize_template' );
     143                        ?>
     144
    135145                        <div class="menu-item-actions description-thin submitbox">
    136146                                <# if ( ( 'post_type' === data.item_type || 'taxonomy' === data.item_type ) && '' !== data.original_title ) { #>
    137147                                <p class="link-to-original">