$99 GRAYBYTE WORDPRESS FILE MANAGER $53

SERVER : premium134.web-hosting.com #1 SMP Thu Mar 13 14:29:12 UTC 2025
SERVER IP : 162.0.232.104 | ADMIN IP 216.73.216.80
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/raydofqv/techfabasia.com/wp-content/plugins/yith-woocommerce-compare/

HOME
Current File : /home/raydofqv/techfabasia.com/wp-content/plugins/yith-woocommerce-compare//init.php
<?php
/**
 * Plugin Name: YITH WooCommerce Compare
 * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-compare/
 * Description: The <code><strong>YITH WooCommerce Compare</strong></code> plugin allow you to compare in a simple and efficient way products on sale in your shop and analyze their main features in a single table. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
 * Version: 3.9.0
 * Author: YITH
 * Author URI: https://yithemes.com/
 * Text Domain: yith-woocommerce-compare
 * Domain Path: /languages/
 * WC requires at least: 10.5
 * WC tested up to: 10.7
 * Requires Plugins: woocommerce
 *
 * @author YITH <plugins@yithemes.com>
 * @package YITH\Compare
 * @version 3.9.0
 */

/*
Copyright 2013-2026 Your Inspiration Solutions (email : plugins@yithemes.com)

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*/

defined( 'ABSPATH' ) || exit; // Exit if accessed directly.

/**
 *  === Define constants. ===
 */

defined( 'YITH_WOOCOMPARE_VERSION' ) || define( 'YITH_WOOCOMPARE_VERSION', '3.9.0' );
defined( 'YITH_WOOCOMPARE' ) || define( 'YITH_WOOCOMPARE', true );
defined( 'YITH_WOOCOMPARE_FREE_INIT' ) || define( 'YITH_WOOCOMPARE_FREE_INIT', plugin_basename( __FILE__ ) );
defined( 'YITH_WOOCOMPARE_SLUG' ) || define( 'YITH_WOOCOMPARE_SLUG', 'yith-woocommerce-compare' );
defined( 'YITH_WOOCOMPARE_URL' ) || define( 'YITH_WOOCOMPARE_URL', plugin_dir_url( __FILE__ ) );
defined( 'YITH_WOOCOMPARE_DIR' ) || define( 'YITH_WOOCOMPARE_DIR', plugin_dir_path( __FILE__ ) );
defined( 'YITH_WOOCOMPARE_FILE' ) || define( 'YITH_WOOCOMPARE_FILE', __FILE__ );
defined( 'YITH_WOOCOMPARE_ASSETS_URL' ) || define( 'YITH_WOOCOMPARE_ASSETS_URL', YITH_WOOCOMPARE_URL . 'assets/' );
defined( 'YITH_WOOCOMPARE_ASSETS_PATH' ) || define( 'YITH_WOOCOMPARE_ASSETS_PATH', YITH_WOOCOMPARE_DIR . 'assets/' );
defined( 'YITH_WOOCOMPARE_INCLUDE_PATH' ) || define( 'YITH_WOOCOMPARE_INCLUDE_PATH', YITH_WOOCOMPARE_DIR . 'includes/' );
defined( 'YITH_WOOCOMPARE_TEMPLATE_PATH' ) || define( 'YITH_WOOCOMPARE_TEMPLATE_PATH', YITH_WOOCOMPARE_DIR . 'templates/' );

/**
 * === Start the plugin up. ===
 */

if ( ! function_exists( 'is_plugin_active' ) ) {
	require_once ABSPATH . 'wp-admin/includes/plugin.php';
}

if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
	require_once 'plugin-fw/yit-plugin-registration-hook.php';
}
register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );

// Plugin Framework Loader.
if ( file_exists( plugin_dir_path( __FILE__ ) . 'plugin-fw/init.php' ) ) {
	require_once plugin_dir_path( __FILE__ ) . 'plugin-fw/init.php';
}

/**
 * Prints error message if WooCommerce is not installed
 *
 * @since 1.0.0
 * @return void
 */
function yith_woocompare_install_woocommerce_admin_notice() {
	?>
	<div class="error">
		<p><?php esc_html_e( 'YITH WooCommerce Compare is enabled but not effective. It requires WooCommerce in order to work.', 'yith-woocommerce-compare' ); ?></p>
	</div>
	<?php
}

/**
 * Error message if premium version is installed
 *
 * @since 1.0.0
 * @return void
 */
function yith_woocompare_install_free_admin_notice() {
	?>
	<div class="error">
		<p><?php esc_html_e( 'You can\'t activate the free version of YITH WooCommerce Compare while you are using the premium one.', 'yith-woocommerce-compare' ); ?></p>
	</div>
	<?php
}

/**
 * Init plugin
 *
 * @since 1.0.0
 * @return void
 */
function yith_woocompare_constructor() {

	global $woocommerce;

	if ( ! isset( $woocommerce ) || ! function_exists( 'WC' ) ) {
		add_action( 'admin_notices', 'yith_woocompare_install_woocommerce_admin_notice' );
		return;
	} elseif ( defined( 'YITH_WOOCOMPARE_PREMIUM' ) ) {
		add_action( 'admin_notices', 'yith_woocompare_install_free_admin_notice' );
		deactivate_plugins( plugin_basename( __FILE__ ) );
		return;
	}

	if ( function_exists( 'yith_plugin_fw_load_plugin_textdomain' ) ) {
		yith_plugin_fw_load_plugin_textdomain( 'yith-woocommerce-compare', basename( __DIR__ ) . '/languages' );
	}

	// Load required classes and functions.
	require_once 'includes/functions.yith-woocompare.php';
	require_once 'includes/class-yith-woocompare-autoloader.php';

	// Let's start the game!
	global $yith_woocompare;
	$yith_woocompare = YITH_WooCompare::instance();
}
add_action( 'plugins_loaded', 'yith_woocompare_constructor', 11 );

Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
2 May 2026 2.40 PM
raydofqv / raydofqv
0755
assets
--
29 Apr 2026 5.43 AM
raydofqv / raydofqv
0755
includes
--
29 Apr 2026 5.43 AM
raydofqv / raydofqv
0755
languages
--
29 Apr 2026 5.43 AM
raydofqv / raydofqv
0755
plugin-fw
--
29 Apr 2026 5.43 AM
raydofqv / raydofqv
0755
plugin-options
--
29 Apr 2026 5.43 AM
raydofqv / raydofqv
0755
templates
--
29 Apr 2026 5.43 AM
raydofqv / raydofqv
0755
.htaccess
0.124 KB
29 Apr 2026 5.43 AM
raydofqv / raydofqv
0444
init.php
4.942 KB
31 Mar 2026 5.48 PM
raydofqv / raydofqv
0644
license.txt
35.858 KB
3 Mar 2026 5.57 PM
raydofqv / raydofqv
0644
readme.txt
22.741 KB
31 Mar 2026 5.48 PM
raydofqv / raydofqv
0644
webpack.config.js
1.478 KB
27 May 2025 7.07 PM
raydofqv / raydofqv
0644
wpml-config.xml
0.167 KB
16 Sep 2014 6.07 PM
raydofqv / raydofqv
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF Static GIF