ÌìÃÀ´«Ã½
← Back
Editing: bootstrap.php
<?php /** * Plugin Name: Advanced Access Manager - Premium Add-On * Description: The complete list of all premium AAM features in one bundle * Version: 8.0.1 * Author: VasylTech LLC <support@aamplugin.com> * Author URI: https://aamportal.com * * ------- * Copyright (C) VasylTech, LLC <vasyl@vasyltech.com> * * This application is the commercial software: you are not allowed to redistribute it * and/or modify. Unauthorized copying of this file, via any medium is strictly * prohibited. * * For any questions or concerns contact AAM Support <support@aamplugin.com> **/ use AAM\AddOn\CompletePackage\Manager as ApplicationManager, AAM\AddOn\CompletePackage\Restful\Manager as RestfulManager, AAM\AddOn\CompletePackage\Backend\Manager as BackendManager, AAM\AddOn\CompletePackage\Service\Manager as ServiceManager, AAM\AddOn\CompletePackage\Framework\Manager as FrameworkManager; if (defined('ABSPATH') && !defined('AAM_COMPLETE_PACKAGE')) { // Global constant to refer to define('AAM_COMPLETE_PACKAGE', '8.0.1'); // Capture the premium add-on directory name define('AAM_COMPLETE_PACKAGE_DIR', __DIR__); if (is_readable(__DIR__ . '/license.php')) { define('AAM_COMPLETE_PACKAGE_LICENSE', require __DIR__ . '/license.php'); } else { _doing_it_wrong( 'AAM Premium Add-On', 'The AAM premium add-on is unlicensed', AAM_COMPLETE_PACKAGE ); } // Register the autoloader require_once __DIR__ . '/autoloader.php'; // Bootstrap the managers that are responsible for different aspects of the // AAM functionality add_action('plugins_loaded', function() { if (defined('AAM_VERSION') && version_compare(AAM_VERSION, '8.0.0') !== -1) { ApplicationManager::bootstrap(); FrameworkManager::bootstrap(); RestfulManager::bootstrap(); ServiceManager::bootstrap(); BackendManager::bootstrap(); } }); // Register uninstall hook register_uninstall_hook(__FILE__, array(ApplicationManager::class, 'uninstall')); }
Save File
Cancel