File "mailchimp-woocommerce.php"
Full Path: /home/vantageo/public_html/cache/cache/cache/cache/cache/.wp-cli/wp-content/plugins/mailchimp-for-woocommerce_bk/mailchimp-woocommerce.php
File size: 1.85 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* The plugin bootstrap file
*
* This file is read by WordPress to generate the plugin information in the plugin
* admin area. This file also includes all of the dependencies used by the plugin,
* registers the activation and deactivation functions, and defines a function
* that starts the plugin.
*
* @link https://mailchimp.com
* @since 1.0.0
* @package MailChimp_WooCommerce
*
* @wordpress-plugin
* Plugin Name: Mailchimp for WooCommerce
* Plugin URI: https://mailchimp.com/connect-your-store/
* Description: Connects WooCommerce to Mailchimp to sync your store data, send targeted campaigns to your customers, and sell more stuff.
* Version: 2.7.6
* Author: Mailchimp
* Author URI: https://mailchimp.com
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: mailchimp-for-woocommerce
* Domain Path: /languages
* Requires at least: 4.9
* Tested up to: 6.0
* WC requires at least: 3.5
* WC tested up to: 7.1
*/
// If this file is called directly, abort.
if (!defined( 'WPINC')) {
die;
}
if (!isset($mailchimp_woocommerce_spl_autoloader) || $mailchimp_woocommerce_spl_autoloader === false) {
// require Action Scheduler
if( file_exists( __DIR__ . "/includes/vendor/action-scheduler/action-scheduler.php" ) ){
include_once __DIR__ . "/includes/vendor/action-scheduler/action-scheduler.php";
}
// bootstrapper
include_once __DIR__ . "/bootstrap.php";
}
register_activation_hook( __FILE__, 'activate_mailchimp_woocommerce');
// plugins loaded callback
add_action('plugins_loaded', 'mailchimp_on_all_plugins_loaded', 12);
add_action('plugins_loaded', function() {
// make this a one liner for testing and code separation
include_once __DIR__ . '/blocks/newsletter.php';
}, 1);