<?php

namespace Vendtics\App\Providers;

defined( "ABSPATH" ) || exit;

use Vendtics\WpMVC\View\View;
use Vendtics\WpMVC\Contracts\Provider;
use Vendtics\WpMVC\Exceptions\Exception;

class ShortCodeServiceProvider implements Provider {
    public function boot() {
        add_shortcode( "vendtics_unsubscribe_confirmation", [$this, "unsubscribe_confirmation"] );
    }

    public function unsubscribe_confirmation() {
        return View::get( 'unsubscribe-confirmation' );
    }
}