$32 GRAYBYTE WORDPRESS FILE MANAGER $74

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/bqrcodec/contact.fpt.auto/wp-content/plugins/jetformbuilder/modules/framework/

HOME
Current File : /home/bqrcodec/contact.fpt.auto/wp-content/plugins/jetformbuilder/modules/framework//module.php
<?php


namespace JFB_Modules\Framework;

use JFB_Components\Module\Base_Module_After_Install_It;
use JFB_Components\Module\Base_Module_Dir_It;
use JFB_Components\Module\Base_Module_Dir_Trait;
use JFB_Components\Module\Base_Module_It;

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

final class Module implements Base_Module_It, Base_Module_After_Install_It, Base_Module_Dir_It {

	use Base_Module_Dir_Trait;

	private $loader;
	private $cx_vui;

	public function rep_item_id() {
		return 'framework';
	}

	public function condition(): bool {
		return true;
	}

	public function on_install() {
		$this->loader = new CX_Loader(
			array(
				$this->get_dir( 'vue-ui/cherry-x-vue-ui.php' ),
				$this->get_dir( 'admin-bar/jet-admin-bar.php' ),
			)
		);
	}

	public function on_uninstall() {
		unset( $this->loader );
	}

	public function init_hooks() {
		add_action( 'after_setup_theme', array( $this, 'init_admin_bar' ) );
	}

	public function remove_hooks() {
		remove_action( 'after_setup_theme', array( $this, 'init_admin_bar' ) );
	}

	public function init_admin_bar() {
		\Jet_Admin_Bar::get_instance();
	}

	/**
	 * @return CX_Loader
	 */
	public function get_loader(): CX_Loader {
		return $this->loader;
	}

	public function get_cx_vue_ui(): \CX_Vue_UI {
		if ( $this->cx_vui ) {
			return $this->cx_vui;
		}
		$ui_data = $this->get_loader()->get_included_module_data( 'cherry-x-vue-ui.php' );

		$this->cx_vui = new \CX_Vue_UI( $ui_data );

		return $this->cx_vui;
	}
}

Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
30 Jan 2024 5.36 PM
bqrcodec / bqrcodec
0755
admin-bar
--
30 Jan 2024 5.36 PM
bqrcodec / bqrcodec
0755
vue-ui
--
30 Jan 2024 5.36 PM
bqrcodec / bqrcodec
0755
cx-loader.php
5.898 KB
30 Jan 2024 5.36 PM
bqrcodec / bqrcodec
0755
module.php
1.548 KB
30 Jan 2024 5.36 PM
bqrcodec / bqrcodec
0755

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF