GRAYBYTE WORDPRESS FILE MANAGER5977

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
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/msenterprise.org.in/wp-content/plugins/elementor/core/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/msenterprise.org.in/wp-content/plugins/elementor/core//modules-manager.php
<?php
namespace Elementor\Core;

use Elementor\Core\Base\Module;
use Elementor\Plugin;

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

/**
 * Elementor modules manager.
 *
 * Elementor modules manager handler class is responsible for registering and
 * managing Elementor modules.
 *
 * @since 1.6.0
 */
class Modules_Manager {

	/**
	 * Registered modules.
	 *
	 * Holds the list of all the registered modules.
	 *
	 * @since 1.6.0
	 * @access public
	 *
	 * @var array
	 */
	private $modules = [];

	/**
	 * Modules manager constructor.
	 *
	 * Initializing the Elementor modules manager.
	 *
	 * @since 1.6.0
	 * @access public
	 */
	public function __construct() {
		$modules_namespace_prefix = $this->get_modules_namespace_prefix();

		foreach ( $this->get_modules_names() as $module_name ) {
			$class_name = str_replace( '-', ' ', $module_name );

			$class_name = str_replace( ' ', '', ucwords( $class_name ) );

			$class_name = $modules_namespace_prefix . '\\Modules\\' . $class_name . '\Module';

			/** @var Module $class_name */

			$experimental_data = $class_name::get_experimental_data();

			if ( $experimental_data ) {
				Plugin::$instance->experiments->add_feature( $experimental_data );

				if ( ! Plugin::$instance->experiments->is_feature_active( $experimental_data['name'] ) ) {
					continue;
				}
			}

			if ( $class_name::is_active() ) {
				$this->modules[ $module_name ] = $class_name::instance();
			}
		}
	}

	/**
	 * Get modules names.
	 *
	 * Retrieve the modules names.
	 *
	 * @since 2.0.0
	 * @access public
	 *
	 * @return string[] Modules names.
	 */
	public function get_modules_names() {
		return [
			'admin-bar',
			'history',
			'library',
			'dynamic-tags',
			'page-templates',
			'gutenberg',
			'wp-cli',
			'wp-rest',
			'safe-mode',
			'ai',
			'notifications',
			'usage',
			'dev-tools',
			'landing-pages',
			'compatibility-tag',
			'generator-tag',
			'elements-color-picker',
			'elementor-counter',
			'shapes',
			'favorites',
			'admin-top-bar',
			'element-manager',
			'nested-elements',
			// Depends on Nested Elements module
			'nested-tabs',
			'nested-accordion',
			'container-converter',
			'web-cli',
			'promotions',
			'notes',
			'performance-lab',
			'lazyload',
			'image-loading-optimization',
			'kit-elements-defaults',
			'announcements',
			'editor-app-bar',
			'site-navigation',
			'styleguide',
			'element-cache',
			'apps',
			'home',
			'link-in-bio',
			'floating-buttons',
			'content-sanitizer',
			'editor-events',
			'atomic-widgets',
			'global-classes',
			'wc-product-editor',
			'checklist',
			'cloud-library',
		];
	}

	/**
	 * Get modules.
	 *
	 * Retrieve all the registered modules or a specific module.
	 *
	 * @since 2.0.0
	 * @access public
	 *
	 * @param string $module_name Module name.
	 *
	 * @return null|Module|Module[] All the registered modules or a specific module.
	 */
	public function get_modules( $module_name ) {
		if ( $module_name ) {
			if ( isset( $this->modules[ $module_name ] ) ) {
				return $this->modules[ $module_name ];
			}

			return null;
		}

		return $this->modules;
	}

	/**
	 * Get modules namespace prefix.
	 *
	 * Retrieve the modules namespace prefix.
	 *
	 * @since 2.0.0
	 * @access protected
	 *
	 * @return string Modules namespace prefix.
	 */
	protected function get_modules_namespace_prefix() {
		return 'Elementor';
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
April 16 2025 14:46:55
giriqfky / giriqfky
0755
admin
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
app
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
base
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
behaviors
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
breakpoints
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
common
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
debug
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
document-types
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
dynamic-tags
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
editor
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
experiments
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
files
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
frontend
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
isolation
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
kits
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
logger
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
page-assets
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
responsive
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
role-manager
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
settings
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
upgrade
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
utils
--
April 16 2025 14:46:54
giriqfky / giriqfky
0755
documents-manager.php
20.336 KB
April 16 2025 14:46:54
giriqfky / giriqfky
0644
modules-manager.php
3.314 KB
April 16 2025 14:46:54
giriqfky / giriqfky
0644
wp-api.php
1.322 KB
April 16 2025 14:46:54
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF