(function (api) { // Extends our custom "Blog Starter" section. api.sectionConstructor['book-author-template'] = api.Section.extend({ // No events for this type of section. attachEvents: function () {}, // Always make the section active. isContextuallyActive: function () { return true; } }); // jQuery("#accordion-panel-book-author-template-theme-options").addClass("custom-class"); })(wp.customize);