GRAYBYTE WORDPRESS FILE MANAGER3416

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/chahida.co.in/wp-content/plugins/envato-elements/trunk/inc/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/chahida.co.in/wp-content/plugins/envato-elements/trunk/inc//class-plugin.php
<?php
/**
 * Envato Elements:
 *
 * This starts things up. Registers the SPL and starts up some classes.
 *
 * @package Envato/Envato_Elements
 * @since 0.0.2
 */

namespace Envato_Elements;

use Envato_Elements\Backend\Photos_Embed;
use Envato_Elements\Backend\Template_Kits;
use Envato_Elements\Backend\Welcome;
use Envato_Elements\Utils\Base;

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


/**
 * Envato Elements plugin.
 *
 * The main plugin handler class is responsible for initializing Envato Elements. The
 * class registers and all the components required to run the plugin.
 *
 * @since 0.0.2
 */
class Plugin extends Base {

	/**
	 * Initializing Envato Elements plugin.
	 *
	 * @since 0.0.2
	 * @access private
	 */
	public function __construct() {
		add_action( 'admin_menu', [ $this, 'admin_menu' ] );
		add_action( 'admin_init', [ $this, 'admin_init' ] );
		add_action( 'plugins_loaded', [ $this, 'db_upgrade_check' ] );
	}

	/**
	 * Sets up the admin menu options.
	 *
	 * @since 0.0.2
	 * @access public
	 */
	public function admin_menu() {
		Welcome::get_instance()->admin_menu();
	}

	/**
	 * Sets up the admin menu options.
	 *
	 * @since 0.0.2
	 * @access public
	 */
	public function admin_init() {
		Photos_Embed::get_instance();
		Template_Kits::get_instance();
	}

	public function db_upgrade_check() {
		if ( is_admin() && get_option( 'envato_elements_version' ) !== ENVATO_ELEMENTS_VER ) {
			$this->activation();
		}
	}

	public function activation() {
		update_option( 'envato_elements_version', ENVATO_ELEMENTS_VER );
		if ( ! get_option( 'envato_elements_install_time' ) ) {
			update_option( 'envato_elements_install_time', time() );
		}
	}

}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:29
giriqfky / giriqfky
0755
api
--
July 10 2025 04:32:29
giriqfky / giriqfky
0755
backend
--
July 10 2025 04:32:29
giriqfky / giriqfky
0755
utils
--
July 10 2025 04:32:29
giriqfky / giriqfky
0755
.htaccess
0.41 KB
July 10 2025 04:32:29
giriqfky / giriqfky
0644
bootstrap.php
1.205 KB
March 07 2025 11:33:34
giriqfky / giriqfky
0644
class-plugin.php
1.662 KB
March 07 2025 11:33:34
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF