12 lines
296 B
JavaScript
12 lines
296 B
JavaScript
( function( $, api ) {
|
|
api.sectionConstructor['gp-upsell-section'] = api.Section.extend( {
|
|
|
|
// No events for this type of section.
|
|
attachEvents: function () {},
|
|
|
|
// Always make the section active.
|
|
isContextuallyActive: function () {
|
|
return true;
|
|
}
|
|
} );
|
|
} )( jQuery, wp.customize ); |