<?php
/**
 * Plugin Name:       PressGo AI — Landing Page & Website Builder for Elementor
 * Plugin URI:        https://pressgo.app
 * Description:       AI page builder for Elementor. Describe your page in chat and watch it build live — every element a native Elementor widget. Advanced: connect Claude, Cursor, or any MCP client.
 * Version:           2.5.10
 * Requires at least: 5.8
 * Requires PHP:      7.4
 * Requires Plugins:  elementor
 * Author:            PressGo
 * Author URI:        https://pressgodigital.com
 * License:           GPL v2 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain:       pressgo-builder
 */

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

define( 'PRESSGO_VERSION', '2.5.10' );
define( 'PRESSGO_PLUGIN_FILE', __FILE__ );
define( 'PRESSGO_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'PRESSGO_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'PRESSGO_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );

require_once PRESSGO_PLUGIN_DIR . 'includes/class-pressgo.php';

register_activation_hook( __FILE__, array( 'PressGo_Activator', 'activate' ) );
register_deactivation_hook( __FILE__, array( 'PressGo_Deactivator', 'deactivate' ) );

PressGo::instance();
