'', 'content_items' => array(), 'content_animation' => '', ), $settings ) ); $frontend = new Frontend; $class = 'stratum-content-switcher'; $wrap_class = $class; $animation_class = stratum_css_class( [ ( $content_animation != 'none' ? $content_animation.'-animation' : 'none-animation' ) ] ); if ( $content_type === 'multiple' ) { $wrap_class .= ' is-multiple'; } if ( $content_type === 'toggle' ) { $wrap_class .= ' is-toggle'; } $once_active_nav = false; $once_active_sw = false; $once_active_content = false; $is_active = false; $unique_id = uniqid(); foreach ( $content_items as $index => $item ) { if ( $item[ 'active' ] ) { $is_active = true; } } ?>