403Webshell
Server IP : 185.143.234.238  /  Your IP : 185.215.232.195
Web Server : nginx/1.22.1
System : Linux server2065 6.1.0-35-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.137-1 (2025-05-07) x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/bcandle/wp-content/plugins/jet-engine/includes/base/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/bcandle/wp-content/plugins/jet-engine/includes/base/base-external-module.php
<?php
/**
 * Base class for module
 */

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

if ( ! class_exists( 'Jet_Engine_External_Module_Base' ) ) {

	/**
	 * Define Jet_Engine_Module_Base class
	 */
	abstract class Jet_Engine_External_Module_Base extends Jet_Engine_Module_Base {

		/**
		 * Returns module external slug which should be the same as module ID
		 *
		 * @return [type] [description]
		 */
		public function external_slug() {
			return $this->module_id();
		}

		/**
		 * Returns detailed info about module
		 *
		 * @return [type] [description]
		 */
		public function get_module_details() {
			$data = $this->get_related_plugin_data();
			return '<h3>' . __( 'Related plugin:', 'jet-engine' ) . ' ' . $data['name'] . '</h3>' . $this->get_module_description();
		}

		/**
		 * Returns text description for the module
		 *
		 * @return [type] [description]
		 */
		public function get_module_description() {
			return '';
		}

		/**
		 * Check if related external plugin is already active
		 *
		 * @return boolean [description]
		 */
		public function is_related_plugin_active() {
			return false;
		}

		/**
		 * Returns information about the related plugin for current module
		 *
		 * @return [type] [description]
		 */
		public function get_related_plugin_data() {
			return array(
				'file' => '',
				'name' => '',
			);
		}

		/**
		 * Returns actions allowed after plugin installation
		 *
		 * @return [type] [description]
		 */
		public function get_installed_actions() {
			return array();
		}

		/**
		 * Returns custom message about successfull module installation
		 *
		 * @return [type] [description]
		 */
		public function get_installed_message() {
			return false;
		}

	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit