PluginProbe
SupportCandy – AI Customer Support Ticket System & Live Chatbot Agent / 2.3.1
SupportCandy – AI Customer Support Ticket System & Live Chatbot Agent v2.3.1
3.5.4 3.5.3 3.5.2 3.5.1 3.4.9 3.5.0 3.4.8 3.4.7 trunk 2.3.1 3.3.6 3.3.7 3.3.8 3.3.9 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6
supportcandy / includes / admin / tickets / init.php

init.php in SupportCandy – AI Customer Support Ticket System & Live Chatbot Agent 2.3.1, at includes/admin/tickets/init.php

24 lines 695 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit; // Exit if accessed directly
4 }
5
6 $support_page = isset($_REQUEST['support_page']) ? sanitize_text_field($_REQUEST['support_page']) : '';
7 $support_page = $support_page ? $support_page : 'ticket_list';
8
9 switch ($support_page) {
10
11 case 'ticket_list': include WPSC_ABSPATH . 'includes/admin/tickets/ticket_list/ticket_list.php';
12 break;
13
14 case 'open_ticket': include WPSC_ABSPATH . 'includes/admin/tickets/individual_ticket/individual_ticket.php';
15 break;
16
17 case 'create_ticket': include WPSC_ABSPATH . 'includes/admin/tickets/create_ticket/create_ticket.php';
18 break;
19
20 default:
21 _e('Invalid Action','supportcandy');
22 break;
23
24 }