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 / create_ticket / create_ticket.php

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

15 lines 423 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 global $current_user;
7 $wpsc_allow_to_create_ticket = get_option('wpsc_allow_to_create_ticket');
8
9 if ( $current_user->ID || in_array('guest', $wpsc_allow_to_create_ticket)) {
10 include WPSC_ABSPATH . 'includes/admin/tickets/create_ticket/load_create_ticket.php';
11
12 } else {
13 include WPSC_ABSPATH . 'includes/admin/tickets/sign_in/sign_in.php';
14 }
15