PNG %k25u25%fgd5n!
<?php
/**
* Plugin Name: EchoRewards - Refer a Friend Rewards Program for WooCommerce
* Plugin URI: https://echorewards.pro
* Description: WooCommerce coupon plugin for WordPress. Generate coupons, reward customers, and setup the ideal customer referral program for your store.
* Version: 2.6.1
* Author: EchoRewards
* Author URI: https://echorewards.pro/
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: echo-rewards
* Domain Path: /languages/
* Requires at least: 5.0
* Tested up to: 6.9
*
* @package ECRE
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
if ( defined( 'ECRE_VERSION' ) ) {
return;
}
require_once __DIR__ . '/vendor/autoload.php';
if ( ! defined( 'ECRE_VERSION' ) ) {
define( 'ECRE_VERSION', '2.6.1' );
define( 'ECRE_FILE', __FILE__ );
define( 'ECRE_PATH', dirname( ECRE_FILE ) );
define( 'ECRE_WP_DIR_PATH', plugin_dir_path( ECRE_FILE ) );
define( 'ECRE_INCLUDES', ECRE_PATH . '/includes' );
define( 'ECRE_FRONTEND', ECRE_PATH . '/includes/Frontend' );
define( 'ECRE_URL', plugin_dir_URL( ECRE_FILE ) );
define( 'ECRE_ASSETS', ECRE_URL . 'assets' );
define( 'ECRE_JS_DIR', ECRE_URL . 'assets/dist/' );
define( 'ECRE_IMG_DIR', ECRE_URL . 'assets/img/' );
/**
* Loads the init file.
*
* @since 1.2.1
*/
require_once __DIR__ . '/includes/ecre-class-base.php';
}
/**
* Initializes the main echoRewards plugin by returning a singleton instance.
*
* @return \ECHO_REWARDS The echoRewards plugin instance.
*
* @since 1.0.0
*/
function ecre_rewards() {
return \ECRE\ECHO_REWARDS::init();
}
ecre_rewards();