File "unlimited_elements.php"

Full path: /home/kosmetik/public_html/wp-content/plugins/unlimited-elements-for-elementor/unlimited_elements.php
File size: 1.51 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor   Back

<?php

if (!defined("UNLIMITED_ELEMENTS_INC")) {
    define("UNLIMITED_ELEMENTS_INC", true);
}
if (!function_exists('unl_fs')) {
    function unl_fs()
    {
        global $unl_fs;
        if (!isset($unl_fs)) {
            require_once dirname(__FILE__) . '/provider/freemius/start.php';
            $unl_fs = fs_dynamic_init(array('id' => '4036', 'slug' => 'unlimited-elements-for-elementor', 'premium_slug' => 'unlimited-elements-pro', 'type' => 'plugin', 'public_key' => 'pk_719fa791fb45bf1896e3916eca491', 'is_premium' => false, 'premium_suffix' => '(Pro)', 'has_premium_version' => true, 'has_addons' => false, 'has_paid_plans' => true, 'has_affiliation' => 'all', 'menu' => array('slug' => 'unlimitedelements', 'support' => false)));
        }
        return $unl_fs;
    }
    unl_fs();
    do_action('unl_fs_loaded');
}
$mainFilepath = __FILE__;
$currentFolder = dirname($mainFilepath);
$pathProvider = $currentFolder . "/provider/";
try {
    if (class_exists("GlobalsUC")) {
        define("UC_BOTH_VERSIONS_ACTIVE", true);
    } else {
        $pathAltLoader = $pathProvider . "provider_alt_loader.php";
        if (file_exists($pathAltLoader)) {
            require $pathAltLoader;
        } else {
            require_once $currentFolder . '/includes.php';
            require_once GlobalsUC::$pathProvider . "core/provider_main_file.php";
        }
    }
} catch (Exception $e) {
    $message = $e->getMessage();
    $trace = $e->getTraceAsString();
    echo "<br>";
    echo esc_html($message);
    echo "<pre>";
    print_r($trace);
}