* @copyright All rights reserved Copyright (c) 2022, actirise.com * * @wordpress-plugin * Plugin Name: Actirise * Description: Premium advertising solution to grow your WordPress site revenue with no code and real-time insights. * Plugin URI: https://www.actirise.com * Version: 4.3.2 * Author: Actirise * Author URI: https://www.actirise.com * Disclaimer: Use at your own risk. No warranty expressed or implied is provided. * Text Domain: actirise * Domain Path: /languages * Requires PHP: 5.6 * Requires at least: 4.7 * Tested up to: 7.1 * License: GPLv2 or later * License URI: https://www.gnu.org/licenses/gpl-2.0.html */ namespace Actirise; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } if ( ! defined( 'ACTIRISE_VERSION' ) ) { define( 'ACTIRISE_VERSION', '4.3.2' ); } if ( ! defined( 'ACTIRISE_FILE' ) ) { define( 'ACTIRISE_FILE', __FILE__ ); } if ( ! defined( 'ACTIRISE_DIR' ) ) { define( 'ACTIRISE_DIR', plugin_dir_path( __FILE__ ) ); } if ( ! defined( 'ACTIRISE_BASENAME' ) ) { define( 'ACTIRISE_BASENAME', plugin_basename( __FILE__ ) ); } if ( ! defined( 'ACTIRISE_URL' ) ) { define( 'ACTIRISE_URL', plugin_dir_url( __FILE__ ) ); } if ( ! defined( 'ACTIRISE_PREFIX' ) ) { define( 'ACTIRISE_PREFIX', 'ACTIRISE_' ); } if ( ! defined( 'ACTIRISE_TEMPLATES_DIR' ) ) { define( 'ACTIRISE_TEMPLATES_DIR', ACTIRISE_DIR . 'templates' ); } if ( ! defined( 'ACTIRISE_COMPONENTS_DIR' ) ) { define( 'ACTIRISE_COMPONENTS_DIR', ACTIRISE_DIR . 'template-components/' ); } if ( ! defined( 'ACTIRISE_URL_API_DATA' ) ) { define( 'ACTIRISE_URL_API_DATA', 'https://data.actirise.com/' ); } if ( ! defined( 'ACTIRISE_URL_API_V2' ) ) { define( 'ACTIRISE_URL_API_V2', 'https://gateway.actirise.com/api/wordpress/' ); } if ( ! defined( 'ACTIRISE_URL_APIVERSION' ) ) { define( 'ACTIRISE_URL_APIVERSION', 'https://s3.fr-par.scw.cloud/actirise-wordpress/' ); } if ( ! defined( 'ACTIRISE_URL_FLASHBID' ) ) { define( 'ACTIRISE_URL_FLASHBID', 'https://www.flashb.id/' ); } if ( ! defined( 'ACTIRISE_CRON' ) ) { $actirise_cron = 'true'; if ( defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON ) { $actirise_cron = 'false'; } if ( defined( 'ALTERNATE_WP_CRON' ) && ALTERNATE_WP_CRON ) { $actirise_cron = 'true'; } /** @const string ACTIRISE_CRON */ define( 'ACTIRISE_CRON', $actirise_cron ); } $actirise_autoload = ACTIRISE_DIR . 'vendor/autoload.php'; if ( ! file_exists( $actirise_autoload ) ) { return; } require_once $actirise_autoload; require_once ACTIRISE_DIR . 'Includes/Functions.php'; use Actirise\Includes\Core; register_activation_hook( __FILE__, array( 'Actirise\Includes\Activator', 'activate' ) ); register_deactivation_hook( __FILE__, array( 'Actirise\Includes\Desactivator', 'desactivate' ) ); /** * Run plugin * * @since 2.0.0 * @return void */ function actirise_run() { $plugin = new Core(); $plugin->run(); } actirise_run();