HEX
Server: Apache
System: Linux server.tcoe.in 4.18.0-553.45.1.el8_10.x86_64 #1 SMP Wed Mar 19 09:44:46 EDT 2025 x86_64
User: bharatdigicom (1007)
PHP: 8.1.32
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/bharatdigicom/public_html/wp-content/plugins/depicter/depicter.php
<?php
/**
 * Plugin Name: Depicter
 * Plugin URI: https://depicter.com
 * Description: Make animated and interactive image slider, video slider, post slider and carousel which work smoothly across devices.
 * Version: 1.1.6
 * Requires at least: 4.9
 * Requires PHP: 7.2.5
 * Author: Averta
 * Author URI: http://averta.net
 * License: GPL-2.0-only
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: depicter
 * Domain Path: /languages
 *
 *
 * @package Depicter
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

define( 'DEPICTER_VERSION', '1.1.6' );
define( 'DEPICTER_PLUGIN_ID', 'depicter' );
define( 'DEPICTER_PLUGIN_FILE', __FILE__ );
define( 'DEPICTER_PLUGIN_PATH', __DIR__  );
define( 'DEPICTER_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );

$name = trim( get_file_data( __FILE__, [ 'Plugin Name' ] )[0] );


// Make sure requirements are met
require_once __DIR__ . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'requirement.php';

if( ! depicter_requirements_satisfied( $name, '7.2.5' ) ){
	// requirements are not met, stop further execution.
	// depicter_requirements_satisfied() will automatically add an admin notice.
	return;
}


// Make sure we can load a compatible version of WP Emerge.
require_once __DIR__ . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'version.php';

if ( ! depicter_should_load_framework( $name, '0.16.0', '2.0.0' )) {
	// An incompatible WP Emerge version is already loaded - stop further execution.
	// depicter_should_load_framework() will automatically add an admin notice.
	return;
}

// -----------------

// Load composer dependencies.
if ( file_exists( __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php' ) ) {
	require_once __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';
}

depicter_declare_loaded_framework( $name, 'plugin', __FILE__ );

// Load helpers.
require_once __DIR__ . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'App.php';
require_once __DIR__ . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'helpers.php';
require_once __DIR__ . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'functions.php';

// Bootstrap plugin after all dependencies and helpers are loaded.
\Depicter::make()->bootstrap( require __DIR__ . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'config.php' );

// Register hooks.
require_once __DIR__ . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'hooks.php';