true, 'viewbox' => true, 'width' => true, 'height' => true, 'fill' => true, 'fill-rule' => true, 'fill-opacity' => true, 'stroke' => true, 'stroke-width' => true, 'stroke-linecap' => true, 'stroke-linejoin' => true, 'class' => true, 'id' => true, 'transform' => true, 'aria-hidden' => true, 'focusable' => true, ); $shapeAttr = array( 'd' => true, 'points' => true, 'cx' => true, 'cy' => true, 'r' => true, 'rx' => true, 'ry' => true, 'x' => true, 'y' => true, 'x1' => true, 'y1' => true, 'x2' => true, 'y2' => true, 'width' => true, 'height' => true, 'fill' => true, 'fill-rule' => true, 'fill-opacity' => true, 'stroke' => true, 'stroke-width' => true, 'stroke-linecap' => true, 'stroke-linejoin' => true, 'transform' => true, ); $iconAllowed = array( 'svg' => $svgAttr, 'g' => $shapeAttr, 'path' => $shapeAttr, 'circle' => $shapeAttr, 'ellipse' => $shapeAttr, 'rect' => $shapeAttr, 'line' => $shapeAttr, 'polyline' => $shapeAttr, 'polygon' => $shapeAttr, ); $icon = isset( $attributes['icon'] ) ? wp_kses( (string) $attributes['icon'], $iconAllowed ) : ''; $itemClasses = trim( 'b-blocks-timeline-item' . ( $side ? ' b-blocks-timeline-side-' . $side : '' ) . ( $arrowAlign ? ' b-blocks-timeline-item-arrow-' . $arrowAlign : '' ) ); ?>
$itemClasses ) ); ?> id='' data-attributes='' >