<?php
/**
 * Plugin Name:       Vistour – 360 Virtual Tour Builder
 * Plugin URI:        https://wordpress.org/plugins/vistour-virtual-tour-builder/
 * Description:       Create immersive 360° virtual tours with scenes, interactive hotspots, analytics, and a WebGL viewer. Embed via block, shortcode, or Elementor.
 * Version:           1.0.1
 * Requires at least: 6.2
 * Requires PHP:      7.4
 * Author:            SH Sajal Chowdhury
 * Author URI:        https://profiles.wordpress.org/shsajalchowdhury
 * License:           GPL v2 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain:       vistour-virtual-tour-builder
 * Domain Path:       /languages
 *
 * @package Vist360
 */

defined( 'ABSPATH' ) || exit;

define( 'VIST360_VERSION', '1.0.1' );
define( 'VIST360_FILE', __FILE__ );
define( 'VIST360_DIR', plugin_dir_path( __FILE__ ) );
define( 'VIST360_URL', plugin_dir_url( __FILE__ ) );

require_once VIST360_DIR . 'src/Core/Autoloader.php';
Vist360\Core\Autoloader::register();

register_activation_hook( __FILE__, array( 'Vist360\\Core\\Installer', 'activate' ) );

/**
 * Retrieve the main plugin instance.
 *
 * @return Vist360\Core\Plugin
 */
function vist360() {
	return Vist360\Core\Plugin::instance();
}

vist360();
