Current Path : /storage/v11800/testtest/public_html/wp-content/plugins/pixelyoursite/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/testtest/public_html/wp-content/plugins/pixelyoursite/facebook-pixel-master.php |
<?php
/**
* Plugin Name: PixelYourSite
* Plugin URI: http://www.pixelyoursite.com/
* Description: No coding <strong>Meta Pixel (formerly Facebook Pixel), Facebook Converion API,</strong> and <strong>Google Analytics</strong> install. Track key actions with our Automated Events, or configure your own events. WooCommerce and EDD fully supported, with Facebook Dynamic Ads Pixel set-up and Google Analytics Enhanced Ecommerce. Insert any custom script with our Head & Footer option. Add the <strong>Pinterest Tag</strong> with our paid add-on. The PRO version adds support for the Google Ads tag plus a lot of extra stuff. Full support for <strong>ConsentMagic.com</strong>.
* Version: 9.6.2
* Author: PixelYourSite
* Author URI: http://www.pixelyoursite.com
* License: GPLv3
*
* Requires at least: 4.4
* Tested up to: 6.5
*
* WC requires at least: 2.6.0
* WC tested up to: 9.0
*
* Text Domain: pys
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
function isPysProActive() {
if ( ! function_exists( 'is_plugin_active' ) ) {
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
}
return is_plugin_active( 'pixelyoursite-pro/pixelyoursite-pro.php' );
}
register_activation_hook( __FILE__, 'pysFreeActivation' );
function pysFreeActivation() {
if ( isPysProActive() ) {
deactivate_plugins('pixelyoursite-pro/pixelyoursite-pro.php');
}
\PixelYourSite\manageAdminPermissions();
}
/**
* facebook-pixel-master.php used for backward compatibility.
*/
add_action( 'before_woocommerce_init', function() {
if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
\Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
}
} );
require_once 'pixelyoursite.php';