<?php
/**
 * Plugin Name: Wedding AI Engine
 * Description: KI- und Sichtbarkeitsplattform für Eventlocations. Geführte KI- und Sichtbarkeitsplattform für Eventlocations mit Website-Check, Eventlocation-Profil, GPS-Koordinaten, Öffnungszeiten, strukturierter Schema-Ausgabe und optionalem Trauredner-Service.
 * Version: 0.5.17
 * Author: Wedding AI Engine / Rent-a-Pastor
 * Text Domain: wedding-ai-engine
 */

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

define('WAE_VERSION', '0.5.17');
define('WAE_PLUGIN_FILE', __FILE__);
define('WAE_PLUGIN_DIR', plugin_dir_path(__FILE__));
define('WAE_PLUGIN_URL', plugin_dir_url(__FILE__));

require_once WAE_PLUGIN_DIR . 'includes/class-wae-admin.php';
require_once WAE_PLUGIN_DIR . 'includes/class-wae-frontend.php';
require_once WAE_PLUGIN_DIR . 'includes/class-wae-page-generator.php';
require_once WAE_PLUGIN_DIR . 'includes/class-wae-updater.php';

register_activation_hook(__FILE__, array('WAE_Page_Generator', 'activate'));

add_action('plugins_loaded', function () {
    WAE_Admin::init();
    WAE_Frontend::init();
    WAE_Updater::init();
});
