HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wpwatermates/wp-content/plugins/salient-demo-importer/plugin.php
<?php
/**
 * Plugin Name: Salient Demo Importer
 * Plugin URI: https://themenectar.com
 * Description: Easily import the live demos of Salient into your own setup. Adds a "Demo Importer" tab into the Salient theme options panel. 
 * Author: ThemeNectar
 * Author URI: https://themenectar.com
 * Version: 1.5
 * Text Domain: salient-demo-importer
 */

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

define( 'SALIENT_DEMO_IMPORTER_ROOT_DIR_PATH', plugin_dir_path( __FILE__ ) );
define( 'SALIENT_DEMO_IMPORTER_PLUGIN_PATH', plugins_url( 'salient-demo-importer' ) );

if ( ! defined( 'SALIENT_DEMO_IMPORTER_VERSION' ) ) {
    define( 'SALIENT_DEMO_IMPORTER_VERSION', '1.5.0' );
}

class Salient_Demo_Importer {
	
	static $instance = false;

	public $plugin_version = SALIENT_DEMO_IMPORTER_VERSION;

		
	private function __construct() {
		
		// Text domain.
		add_action( 'init', array( $this, 'salient_demo_importer_load_textdomain' ) );
		
		// Start it up.
		add_action( 'redux/extensions/before', array( $this, 'init' ), 10 );
		
	}
	
	public static function getInstance() {
		if ( !self::$instance ) {
			self::$instance = new self;
		}
		return self::$instance;
	}
	
	
	public function salient_demo_importer_load_textdomain() {
		load_plugin_textdomain( 'salient-demo-importer', false, plugin_basename( dirname( __FILE__ ) ) . '/languages' );
	}
	
	
	public function init() {
			
			// Before init.
			do_action( 'before_salient_demo_importer_init' );
			
			// Load Demo Importer.
			require_once( SALIENT_DEMO_IMPORTER_ROOT_DIR_PATH. 'includes/admin/demo-importer-init.php');
			
			// After init.
			do_action( 'salient_demo_importer_init' );
			
	}

	
}

// Plugin init.
$Salient_Demo_Importer = Salient_Demo_Importer::getInstance();