• File: provider_main_file.php
  • Full Path: /home/bravrvjk/hpgt.org/wp-content/plugins/unlimited-elements-for-elementor/provider/core/provider_main_file.php
  • Date Modified: 01/19/2026 12:57 PM
  • File size: 837 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php 

try{
	
	//-------------------------------------------------------------
	
	//load core plugins
	
	$pathCorePlugins = dirname(__FILE__)."/";
	
	$pathUnlimitedElementsPlugin = $pathCorePlugins."unlimited_elements/plugin.php";
		require_once $pathUnlimitedElementsPlugin;
	
	$pathCreateAddonsPlugin = $pathCorePlugins."create_addons/plugin.php";
		require_once $pathCreateAddonsPlugin;
	
	if(is_admin() || (defined('WP_CLI') && WP_CLI) ){		//load admin part
		
		do_action(GlobalsProviderUC::ACTION_RUN_ADMIN);
		
		
	}else{		//load front part
		
		do_action(GlobalsProviderUC::ACTION_RUN_FRONT);
		
	}

	
	}catch(Exception $e){
		$message = $e->getMessage();
		$trace = $e->getTraceAsString();
		uelm_echo( "Error: <b>".$message."</b>");
		
		if(GlobalsUC::$SHOW_TRACE == true)
			dmp($trace);
	}