Sindbad~EG File Manager

Current Path : /home/n/i/c/nicedoo/www/wp-content/plugins/tier-pricing-table/src/Integrations/
Upload File :
Current File : /home/n/i/c/nicedoo/www/wp-content/plugins/tier-pricing-table/src/Integrations/Integrations.php

<?php namespace TierPricingTable\Integrations;

use TierPricingTable\Integrations\Plugins\AeliaMulticurrency;
use TierPricingTable\Integrations\Plugins\Elementor\ElementorIntegration;
use TierPricingTable\Integrations\Plugins\MixMatch;
use TierPricingTable\Integrations\Plugins\ProductBundles;
use TierPricingTable\Integrations\Plugins\WCCS;
use TierPricingTable\Integrations\Plugins\WCPA;
use TierPricingTable\Integrations\Plugins\WooCommerceProductAddons;
use TierPricingTable\Integrations\Plugins\WooCommerceDeposits;
use TierPricingTable\Integrations\Plugins\WOOCS;
use TierPricingTable\Integrations\Plugins\WPAllImport;
use TierPricingTable\Integrations\Plugins\WPMLMulticurrency;
use TierPricingTable\Integrations\Plugins\YithRequestAQuote;
use TierPricingTable\Integrations\Themes\Astra;
use TierPricingTable\Integrations\Themes\Avada;
use TierPricingTable\Integrations\Themes\Divi;
use TierPricingTable\Integrations\Themes\Electro;
use TierPricingTable\Integrations\Themes\Flatsome;
use TierPricingTable\Integrations\Themes\Merchandiser;
use TierPricingTable\Integrations\Themes\Neto;
use TierPricingTable\Integrations\Themes\OceanWp;
use TierPricingTable\Integrations\Themes\Porto;
use TierPricingTable\Integrations\Themes\Shopkeeper;
use TierPricingTable\Integrations\Themes\TheRetailer;

class Integrations {
	public function __construct() {
		$this->init();
	}

	public function init() {
		$themes = apply_filters( 'tiered_pricing_table/integrations/themes', array(
			'avada'        => Avada::class,
			'astra'        => Astra::class,
			'divi'         => Divi::class,
			'oceanWP'      => OceanWp::class,
			'flatsome'     => Flatsome::class,
			'shopkeeper'   => Shopkeeper::class,
			'the retailer' => TheRetailer::class,
			'merchandiser' => Merchandiser::class,
			'electro'      => Electro::class,
			'porto'        => Porto::class,
		) );

		$plugins = apply_filters( 'tiered_pricing_table/integrations/plugins', array(
			ElementorIntegration::class,
			WPAllImport::class,
			WooCommerceProductAddons::class,
			ProductBundles::class,
			WooCommerceDeposits::class,
			WOOCS::class,
			WCPA::class,
			AeliaMulticurrency::class,
			MixMatch::class,

			WCCS::class,
			WPMLMulticurrency::class,
			YithRequestAQuote::class,
		) );

		foreach ( $themes as $themeName => $theme ) {
			if ( strpos( strtolower( wp_get_theme()->name ),
					$themeName ) !== false || ( ! empty( wp_get_theme()->template ) && strpos( strtolower( wp_get_theme()->template ),
						$themeName ) !== false ) ) {
				new $theme();
			}
		}

		foreach ( $plugins as $plugin ) {
			new $plugin();
		}
	}
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists