<?php
/**
 * Plugin Name:       Fense Block Vpn & Proxy
 * Plugin URI:        https://fense.in/
 * Description:       Protect your ads and website from bad traffic (Proxies, VPNs, Tor).
 * Version:           3.0.2
 * Author:            Devozon
 * Author URI:        https://devozon.com/
 * License:           GPLv2
 * License URI:       http://www.gnu.org/licenses/gpl-2.0.txt
 * Text Domain:       fense-block-vpn-proxy
 * Domain Path:       /languages
 *
 * Developed by Devozon — https://devozon.com/
 * Coded by Sanad Nabil · Theme by Ahmed Reda · Tested by Smith Carter
 * Copyright (c) 2023-2025. All rights reserved.
 *
 * @package FENSE_BPVT
 */

if ( !defined( 'WPINC' ) ) {
	die;
}

define( 'FENSE_BPVT_DIR', plugin_dir_path( __FILE__ ) );

require_once FENSE_BPVT_DIR . 'includes/core/vars.php';
require_once FENSE_BPVT_DIR . 'includes/system/activate-plugin.php';
require_once FENSE_BPVT_DIR . 'includes/system/deactivate-plugin.php';
require_once FENSE_BPVT_DIR . 'includes/index.php';
require_once FENSE_BPVT_DIR . 'includes/admin-inputs.php';
require_once FENSE_BPVT_DIR . 'includes/core/cache.php';
require_once FENSE_BPVT_DIR . 'includes/core/functions.php';
require_once FENSE_BPVT_DIR . 'includes/core/run-base.php';
require_once FENSE_BPVT_DIR . 'includes/core/run.php';
require_once FENSE_BPVT_DIR . 'includes/core/run-save-mode.php';
require_once FENSE_BPVT_DIR . 'includes/core/stats.php';
require_once FENSE_BPVT_DIR . 'includes/system/check-version.php';
require_once FENSE_BPVT_DIR . 'includes/system/load-stats.php';
require_once FENSE_BPVT_DIR . 'includes/system/header-code.php';
require_once FENSE_BPVT_DIR . 'includes/system/plugin-settings.php';
require_once FENSE_BPVT_DIR . 'includes/system/api-call.php';
require_once FENSE_BPVT_DIR . 'includes/system/cache-safe-mode.php';
require_once FENSE_BPVT_DIR . 'includes/system/plugin-updates.php';
require_once FENSE_BPVT_DIR . 'includes/system/dashboard-widget.php';
require_once FENSE_BPVT_DIR . 'includes/core/bot-verifier.php';
require_once FENSE_BPVT_DIR . 'includes/core/menu-bar.php';

register_activation_hook( __FILE__, 'FENSE_BPVT_activate' );

function FENSE_BPVT_run(): void
{
	( new FENSE_BPVT() )->run();
}

FENSE_BPVT_run();
