HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux mail.btech-izolacje.pl 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
User: pewna6876 (1017)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: /home/pewnabryka.pl/public_html/wp-content/plugins/vehica-core/vehica-core.php
<?php
/*
Plugin Name: Vehica Core
Version: 1.0.101
Plugin URI: https://tangiblewp.com/vehica
Text Domain: vehica-core
Domain Path: /languages
Description: Essential Plugin required to run the Vehica WordPress Theme. It provides important functions that enable the theme's functionality.
Author: TangibleWP
Author URI: https://tangiblewp.com
*/
if (!defined('ABSPATH')) {
    exit;
}

require_once __DIR__ . '/vendor/autoload.php';

add_action('init', static function () {
    load_plugin_textdomain('vehica-core', false, basename(__DIR__) . '/languages/');
});

add_action('plugins_loaded', static function () {
    require_once __DIR__ . '/bootstrap/app.php';
}, 0);

register_activation_hook(WP_PLUGIN_DIR . '/elementor/elementor.php', static function () {
    update_option('vehica_reset_rewrites', 1);
});

register_activation_hook(__FILE__, static function () {
    if (empty(get_option('vehica_demo'))) {
        update_option('vehica_welcome', 1);
    }
});