<?php if (!defined('ABSPATH')) exit; // Exit if accessed directly ?>

<a class="wps-link-arrow wps-link-arrow--external" target="_blank" href="<?php echo esc_url($url); ?>" aria-label="<?php echo esc_html($title) ?>">
    <span><?php echo esc_html($title) ?></span>
    <?php if (!empty($tooltip)): ?>
        <span class="wps-tooltip" title="<?php echo esc_attr($tooltip) ?>"><i class="wps-tooltip-icon info"></i></span>
    <?php endif; ?>
</a>
