forked from retargeting/WooCommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwoocommerce-retargeting.php
executable file
·34 lines (29 loc) · 1.09 KB
/
woocommerce-retargeting.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
/**
* Plugin Name: WooCommerce Retargeting
* Plugin URI: https://retargeting.biz/en/plugins/woocommerce
* Description: Retargeting is a marketing automation tool that boosts the conversion rate and sales of your online store.
* Version: 3.1.5
* Author: Retargeting Team
* Author URI: http://retargeting.biz
* License: GPL2
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: woo-rtg-tracking
* Domain Path: /i18n/languages/
* WC requires at least: 4.0.0
* WC tested up to: 5.7.2
*
* @package WooRetargeting
*/
defined('ABSPATH') OR exit('No direct script access allowed');
if (!defined('RTG_TRACKER_DIR'))
{
define('RTG_TRACKER_DIR', dirname(__FILE__));
}
if (!class_exists('WooCommerceRTG'))
{
include_once RTG_TRACKER_DIR . '/includes/class-rtg.php';
}
$wooRTG = new WooCommerceRTG();
register_activation_hook( __FILE__, [$wooRTG, 'rtgInstall'] );
register_deactivation_hook( __FILE__, [$wooRTG, 'rtgDisable'] );