FFTAC AI Engine
**Site relevance:** Anti-Christ.org
**Memory type:** plugin source memory
**Source path:** Anti-Christ.org/wp-content/plugins/fftac-ai-engine/fftac-ai-engine.php
**Size:** 1.5 KB
Summary
Plugin Name: FFTAC AI Engine
Source Preview
This source file is short enough to preview directly on its source-memory page.
<?php
/**
* Plugin Name: FFTAC AI Engine
* Description: Provides the signed-in AI console data, personas, OpenAI key policy, AJAX handlers, local-session support contract, and output sharing for the Antichrist Engine theme.
* Version: 3.28.0
* Author: Foundation For The Anti-Christ
* Text Domain: antichrist-engine
* Requires Plugins: fftac-foundation-core
*
* @package FFTAC_AI_Engine
*/
if (!defined('ABSPATH')) {
exit;
}
define( 'FFTAC_AI_ENGINE_VERSION', '3.28.0' );
define('FFTAC_AI_ENGINE_PLUGIN_FILE', __FILE__);
define('FFTAC_AI_ENGINE_PLUGIN_DIR', plugin_dir_path(__FILE__));
/**
* Loads the AI Engine modules after Foundation Core is available.
*
* @return void
*/
function fftac_ai_engine_load()
{
if (!function_exists('antichrist_engine_security_get_post_value')) {
return;
}
require_once FFTAC_AI_ENGINE_PLUGIN_DIR . 'inc/ai-content.php';
require_once FFTAC_AI_ENGINE_PLUGIN_DIR . 'inc/ai-engine.php';
}
add_action('plugins_loaded', 'fftac_ai_engine_load', 30);
/**
* Warns administrators when the required Foundation Core plugin is missing.
*
* @return void
*/
function fftac_ai_engine_missing_core_notice()
{
if (function_exists('antichrist_engine_security_get_post_value')) {
return;
}
echo '<div class="notice notice-error"><p>';
echo esc_html__('FFTAC AI Engine requires the FFTAC Foundation Core plugin to be active.', 'antichrist-engine');
echo '</p></div>';
}
add_action('admin_notices', 'fftac_ai_engine_missing_core_notice');