| Linux server27.hostingraja.org 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64 Path : /home/udaipurk/public_html/websites/rishh/XStore Theme/xstore/framework/compatibility/ |
| Current File : //home/udaipurk/public_html/websites/rishh/XStore Theme/xstore/framework/compatibility/init.php |
<?php
/**
* Description
*
* @package init.php
* @since 8.0.0
* @author Stas
* @link http://xstore.8theme.com
* @license Themeforest Split Licence
*/
defined( 'ABSPATH' ) || exit( 'Direct script access denied.' );
/*
* Elementor compatibilities
* ******************************************************************* */
if ( defined('ELEMENTOR_VERSION')) {
require_once( apply_filters( 'etheme_file_url', ETHEME_CODE . 'compatibility/elementor.php' ) );
}
/*
* WPBakery compatibilities
* ******************************************************************* */
if ( defined('WPB_VC_VERSION') ) {
require_once( apply_filters( 'etheme_file_url', ETHEME_CODE . 'compatibility/wpbakery.php' ) );
}
/*
* Dokan compatibilities
* ******************************************************************* */
require_once( apply_filters('etheme_file_url', ETHEME_CODE . 'compatibility/dokan.php') );
/*
* Bbpress compatibilities
* ******************************************************************* */
if ( class_exists( 'bbPress' ) ) {
require_once( apply_filters( 'etheme_file_url', ETHEME_CODE . 'compatibility/bbpress.php' ) );
}
// make banners and others to promo the SalesMax plugin
$salesmax_installed = defined('SMAX_VERSION');
require_once(apply_filters('etheme_file_url', ETHEME_CODE . 'compatibility/salesmax.php'));
/*
* WCMarketplace compatibilities (MVX - since 4.0 renamed)
* ******************************************************************* */
if ( class_exists('WCMp') || class_exists('MVX') ) {
require_once( apply_filters( 'etheme_file_url', ETHEME_CODE . 'compatibility/wcmp.php' ) );
}
/*
* WCFM Marketplace compatibility
* ******************************************************************* */
//if ( class_exists( 'WCFMmp' ) ) {
require_once( apply_filters( 'etheme_file_url', ETHEME_CODE . 'compatibility/wcfmmp.php' ) );
//}
/*
* Yoast compatibilities
* ******************************************************************* */
if ( defined('WPSEO_VERSION') ) {
require_once( apply_filters( 'etheme_file_url', ETHEME_CODE . 'compatibility/wpseo.php' ) );
}
/*
* WPML compatibilities
* ******************************************************************* */
if ( defined('WPML_TM_VERSION') && defined('WPML_ST_VERSION') ) {
require_once( apply_filters( 'etheme_file_url', ETHEME_CODE . 'compatibility/wpml.php' ) );
}
require_once( apply_filters( 'etheme_file_url', ETHEME_CODE . 'compatibility/yith-compare.php' ) );
/*
* WooCommerce Skroutz & BestPrice XML Feed
* ******************************************************************* */
require_once( apply_filters( 'etheme_file_url', ETHEME_CODE . 'compatibility/webexpert-skroutz.php' ) );
require_once( apply_filters( 'etheme_file_url', ETHEME_CODE . 'compatibility/gutenberg.php' ) );
// ! REFER for woo premium plugins
if ( ! defined( 'YITH_REFER_ID' ) ) {
define( 'YITH_REFER_ID', '1028760' );
}
// REFER for yellow pencil
if ( ! defined( 'YP_THEME_MODE' ) ) {
define( 'YP_THEME_MODE', "true" );
}
// **********************************************************************//
// ! Theme 3d plugins
// **********************************************************************//
add_action( 'init', 'etheme_3d_plugins' );
if ( ! function_exists( 'etheme_3d_plugins' ) ) {
function etheme_3d_plugins() {
if ( function_exists( 'set_revslider_as_theme' ) ) {
set_revslider_as_theme();
}
if ( function_exists( 'set_ess_grid_as_theme' ) ) {
set_ess_grid_as_theme();
}
}
}