<?php
/**
 * Plugin Name:       Pixelmole – Follow-up emails
 * Plugin URI:        https://pixelmole.com/wordpress-plugins/follow-up-emails/
 * Description:       Easily create and send follow-up emails that keep your customers engaged. No coding, just results.
 * Version:           1.0.5
 * Author:            Pixelmole
 * Author URI:        https://pixelmole.com
 * Text Domain:       pixelmole-follow-up-emails
 * Domain Path:       /languages
 * License:           GPLv2 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 * Requires at least: 6.0
 * Requires PHP:      7.4
 * Requires Plugins:  woocommerce
 *
 * DISCLAIMER:
 * This software is provided "as is", without warranty of any kind. The author or company cannot be held
 * responsible for any damage or data loss that may occur as a result of using this plugin.
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

define( 'PIXELMOLE_FOLLOWUP_FILE', __FILE__ );
define( 'PIXELMOLE_FOLLOWUP_PATH', plugin_dir_path( __FILE__ ) );
define( 'PIXELMOLE_FOLLOWUP_URL', plugin_dir_url( __FILE__ ) );

require_once PIXELMOLE_FOLLOWUP_PATH . 'includes/class-pixelmole-follow-up-emails-plugin.php';
require_once PIXELMOLE_FOLLOWUP_PATH . 'includes/class-pixelmole-follow-up-emails-logger.php';
require_once PIXELMOLE_FOLLOWUP_PATH . 'includes/class-pixelmole-follow-up-emails-store.php';
require_once PIXELMOLE_FOLLOWUP_PATH . 'includes/class-pixelmole-follow-up-emails-admin.php';
require_once PIXELMOLE_FOLLOWUP_PATH . 'includes/class-pixelmole-follow-up-emails-emails.php';

Pixelmole_Followup_Plugin::instance();

register_activation_hook( __FILE__, [ 'Pixelmole_Followup_Plugin', 'activate' ] );
register_uninstall_hook( __FILE__, [ 'Pixelmole_Followup_Plugin', 'uninstall' ] );
