parent->get_settings_for_display(); $active_sec = $this->get_active_section( $settings['content_list'] ); if ( empty( $active_sec ) ) { $active_sec['section_id'] = $settings['content_list'][0]['_id']; $active_sec['index_no'] = 0; } //Label Section Attribute $this->parent->add_render_attribute( 'switch-wrapper', 'class', 'eae-cs-label-wrapper' ); //Content Section Attribute $this->parent->add_render_attribute( 'switch-content', 'class', 'eae-cs-content-section' ); ?>