| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Taboola Pixel |
| 4 |
* Description: Taboola Pixel is a WordPress plugin that injects the Taboola Pixel code into your website. |
| 5 |
* Version: 1.1.8 |
| 6 |
* Author: Taboola |
| 7 |
* Author URI: https://taboola.com |
| 8 |
* License: GPL-2.0+ |
| 9 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt |
| 10 |
* Text Domain: taboola-pixel |
| 11 |
*/ |
| 12 |
|
| 13 |
|
| 14 |
if (!defined('ABSPATH')) { |
| 15 |
exit; |
| 16 |
} |
| 17 |
|
| 18 |
// Include the settings file |
| 19 |
require_once plugin_dir_path(__FILE__) . 'includes/settings.php'; |
| 20 |
|
| 21 |
// Include the header file |
| 22 |
require_once plugin_dir_path(__FILE__) . 'includes/header.php'; |
| 23 |
|
| 24 |
// Include woocommerce events file |
| 25 |
// Self-gated on WooCommerce being active, so this is a no-op on non-WooCommerce |
| 26 |
// sites. Loaded here so a WooCommerce store running the standard plugin gets the |
| 27 |
// same event tracking as the dedicated WooCommerce build. |
| 28 |
require_once plugin_dir_path(__FILE__) . 'includes/woocommerce-events.php'; |
| 29 |
|
| 30 |
?> |
| 31 |
|