<?php

if (!defined('ABSPATH')) {
    exit;
}

class Kavehboardticketshortcodes {

    public function __construct() {
        add_shortcode('kaveh_ticket_submission_form', array($this, 'ticket_submission_shortcode'));
        add_shortcode('kaveh_ticket_dashboard', array($this, 'ticket_dashboard_shortcode'));
    }

    public function ticket_submission_shortcode($atts) {
        // This shortcode will render the ticket submission form
        // The actual form rendering logic is in Kavehboardticketsubmission class
        return do_shortcode('[kaveh_submit_ticket]');
    }

    public function ticket_dashboard_shortcode($atts) {
        // This shortcode will render the user's ticket dashboard
        // The actual dashboard rendering logic is in Kavehboardticketdashboard class
        return do_shortcode('[kaveh_user_tickets]');
    }
}

new Kavehboardticketshortcodes();