';
break;
case 'close':
$output = '';
break;
case 'search':
$output = '';
break;
case 'arrow':
$output = '';
break;
case 'cart':
$output = '';
break;
case 'bag':
$output = '';
break;
case 'basket':
$output = '';
break;
default:
$output = '';
break;
}
if ( $replace ) {
$output .= '';
}
} else {
if ( 'menu-bars' === $icon ) {
$menu_icon = apply_filters( 'astra_' . $menu_location . '_menu_toggle_icon', 'menu-toggle-icon' );
$output = '';
}
}
$output = apply_filters( 'astra_svg_icon_element', $output, $icon );
$classes = array(
'ast-icon',
'icon-' . $icon,
);
$output = sprintf(
'%2$s',
implode( ' ', $classes ),
$output
);
if ( ! $is_echo ) {
return apply_filters( 'astra_svg_icon', $output, $icon );
}
echo apply_filters( 'astra_svg_icon', $output, $icon ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
new Astra_Icons();