Disable customizer control sorting within sections
What you have in the code is Backbone.js that goes together with Underscore.js. The api.panel, api.section, api.control are collections $( [ api.panel, api.section, api.control ] ).each( function ( i, values ) { var debouncedReflowPaneContents = _.debounce( api.reflowPaneContents, api.settings.timeouts.reflowPaneContents ); values.bind( ‘add’, debouncedReflowPaneContents ); values.bind( ‘change’, debouncedReflowPaneContents ); values.bind( ‘remove’, debouncedReflowPaneContents ); } ); And bind … Read more