<?php
/**
 * Plugin Name: Fotogenic AI - AI Image Studio
 * Description: Generate, campaign, and enhance WordPress images with one-or-many selection where supported, plus optional WooCommerce support.
 * Version: 1.1.1
 * Requires at least: 6.5
 * Requires PHP: 7.4
 * Author: Fotogenic AI
 * Author URI: https://fotogenic.ai
 * License: GPLv2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: fotogenic-ai
 * Domain Path: /languages
 */

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

define( 'FOTOGENIC_AI_VERSION', '1.1.1' );
define( 'FOTOGENIC_AI_MINIMUM_PHP', '7.4' );
define( 'FOTOGENIC_AI_FILE', __FILE__ );
define( 'FOTOGENIC_AI_PATH', plugin_dir_path( __FILE__ ) );
define( 'FOTOGENIC_AI_URL', plugin_dir_url( __FILE__ ) );
// FOTOGENIC_AI_REQUIRED_CAP: define in wp-config.php to require an additional capability. Minimum floor is always manage_options.

require_once FOTOGENIC_AI_PATH . 'includes/load.php';
require_once FOTOGENIC_AI_PATH . 'includes/core/class-plugin.php';

Fotogenic_AI\Plugin::instance()->init();
