OwlCyberSecurity - MANAGER
Edit File: 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.4.6 * Author: PixelYourSite * Author URI: http://www.pixelyoursite.com * License: GPLv3 * * Requires at least: 4.4 * Tested up to: 6.3 * * WC requires at least: 2.6.0 * WC tested up to: 8.1 * * 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';