session) {
// Ensure cart is loaded
if (WC()->cart) {
$cart_count = WC()->cart->get_cart_contents_count();
if ( $cart_count > 0 ) {
WC()->cart->calculate_totals();
}
} else {
$cart_count = 0;
}
} else {
$cart_count = 0;
}
?>
array( 'xmlns' => true, 'viewbox' => true, 'width' => true, 'height' => true, 'fill' => true, 'stroke' => true, 'stroke-linecap' => true, 'stroke-linejoin' => true, 'style' => true, 'class' => true, 'aria-hidden' => true ),
'path' => array( 'd' => true, 'stroke-width' => true, 'fill' => true, 'stroke' => true ),
'circle' => array( 'cx' => true, 'cy' => true, 'r' => true, 'fill' => true, 'stroke' => true, 'stroke-width' => true ),
'rect' => array( 'x' => true, 'y' => true, 'width' => true, 'height' => true, 'rx' => true, 'ry' => true, 'fill' => true, 'stroke' => true, 'stroke-width' => true ),
'line' => array( 'x1' => true, 'y1' => true, 'x2' => true, 'y2' => true, 'stroke' => true, 'stroke-width' => true ),
'polyline' => array( 'points' => true, 'fill' => true, 'stroke' => true, 'stroke-width' => true ),
'polygon' => array( 'points' => true, 'fill' => true, 'stroke' => true, 'stroke-width' => true ),
'g' => array( 'fill' => true, 'stroke' => true, 'transform' => true ),
);
echo wp_kses( apply_filters('caddy_cart_bubble_icon', ''), $allowed_svg );
?>