????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.48.1  /  Your IP : 216.73.216.191
Web Server : LiteSpeed
System : Linux premium151.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
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/././self/./cwd/wp-content/plugins/elementor/core/admin/menu/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/././self/./cwd/wp-content/plugins/elementor/core/admin/menu/cloud-hosting-plans-menu-item.php
<?php

namespace Elementor\Core\Admin\Menu;

use Elementor\Core\Admin\Menu\Interfaces\Admin_Menu_Item_With_Page;

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

/**
 * Cloud Hosting Plans Menu Item.
 */
class Cloud_Hosting_Plans_Menu_Item implements Admin_Menu_Item_With_Page {
	const URL = 'https://go.elementor.com/host-local-side-menu/';

	public function is_visible() {
		$env_type = wp_get_environment_type();

		if ( in_array( $env_type, [ 'development', 'local', 'staging' ] ) ) {
			return true;
		}

		$ip = isset( $_SERVER['REMOTE_ADDR'] ) ? sanitize_text_field( wp_unslash( $_SERVER['REMOTE_ADDR'] ) ) : '';
		$host = isset( $_SERVER['HTTP_HOST'] ) ? sanitize_text_field( wp_unslash( $_SERVER['HTTP_HOST'] ) ) : '';

		$is_dev = (
			false !== strpos( $host, '.local' )
			|| false !== strpos( $host, 'localhost' )
			|| preg_match( '/^192\.168\./', $ip )
			|| '127.0.0.1' === $ip
		);

		return $is_dev;
	}

	public function get_parent_slug() {
		return 'edit.php?post_type=elementor_library';
	}

	public function get_label() {
		return esc_html__( 'Hosting Plans', 'elementor' );
	}

	public function get_capability() {
		return 'manage_options';
	}

	public function get_page_title() {
		return esc_html__( 'Hosting Plans', 'elementor' );
	}

	public function render() {
		exit;
	}

	public static function get_url() {
		return self::URL;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit