<?php defined( 'ABSPATH' ) ?? exit; ?>
<?php $unsubscribe_url = add_query_arg( ['token' => \Vendtics\WpMVC\Helpers\Helpers::request()->get_param( 'token' )], get_rest_url( null, "vendtics/campaigns/email/unsubscribe" ) );?>
<div>
    <a href="<?php echo esc_url( $unsubscribe_url )?>"><?php esc_html_e( 'Unsubscribe', 'vendtics' )?></a>
    <button><?php esc_html_e( 'Cancel', 'vendtics' )?></button>
</div>