<?php 
    if ( ! empty( $settings['btn_link']['url'] ) ) {
        $this->add_link_attributes( 'btn_link', $settings['btn_link'] );
    }
?>
<div class="btn-wrap">
    <a <?php echo $this->get_render_attribute_string( 'btn_link' ); ?> class="gt-btn-8">
        
        <?php if($settings['enable_icon'] === 'yes'):?>
            <span class="btn-icon-1"><?php \Elementor\Icons_Manager::render_icon( $settings['btn_icon'], [ 'aria-hidden' => 'true' ] ); ?></span>
        <?php endif;?>

        <span class="btn-text"><?php echo wp_kses($settings['btn_label'], true);?></span>

        <?php if($settings['enable_icon'] === 'yes'):?>
            <span class="btn-icon"><?php \Elementor\Icons_Manager::render_icon( $settings['btn_icon'], [ 'aria-hidden' => 'true' ] ); ?></span>
        <?php endif;?>
    </a>
</div>