# supportcandy/trunk/includes/admin/index.php

SupportCandy – AI Customer Support Ticket System &amp; Live Chatbot Agent, version trunk. 49 lines.

- Page: https://pluginprobe.com/plugins/supportcandy/trunk/code/includes/admin/index.php
- Raw: https://pluginprobe.com/plugins/supportcandy/trunk/raw/includes/admin/index.php
- Modified: 2026-07-30T10:49:42+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/supportcandy/trunk/code/includes/admin/index.php#L10-L20`.

```php
<?php
// Load tickets.
foreach ( glob( __DIR__ . '/tickets/*.php' ) as $filename ) {
	include_once $filename;
}

// Load agent settings.
foreach ( glob( __DIR__ . '/agent-settings/*.php' ) as $filename ) {
	include_once $filename;
}

// Load ticket form settings.
foreach ( glob( __DIR__ . '/custom-fields/*.php' ) as $filename ) {
	include_once $filename;
}

// Load ticket list settings.
foreach ( glob( __DIR__ . '/ticket-list/*.php' ) as $filename ) {
	include_once $filename;
}

// Load email notification settings.
foreach ( glob( __DIR__ . '/email-notifications/*.php' ) as $filename ) {
	include_once $filename;
}

// Load settings.
foreach ( glob( __DIR__ . '/settings/*.php' ) as $filename ) {
	include_once $filename;
}

// Miscellaneous classes.
foreach ( glob( __DIR__ . '/misc/*.php' ) as $filename ) {
	include_once $filename;
}

// Recent activites classes.
foreach ( glob( __DIR__ . '/recent-activities/*.php' ) as $filename ) {
	include_once $filename;
}

// Customer classes.
foreach ( glob( __DIR__ . '/customers/*.php' ) as $filename ) {
	include_once $filename;
}

// AI Assistant / AI ChatBot are loaded by class-wpsc-ai-legacy-compat.php (auto-included
// by the glob in supportcandy.php), which defers to Productivity Suite's copy if needed.

```
