GRAYBYTE WORDPRESS FILE MANAGER2696

Server IP : 192.250.235.76 / Your IP : 45.90.210.12
System : Linux s2968.sgp1.stableserver.net 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
PHP Version : 8.2.29
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/home/tawsifschoice/borkaa.tawsifschoice.com/
1902120114081995

GRAYBYTE WORDPRESS FILE MANAGER3377

Server IP : 198.54.116.172 / Your IP : 216.73.216.36
System : Linux server322.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : mail
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/home/sadasgfe/fashiondebate.pk/wp-content/plugins/elementor-pro/core/behaviors/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/sadasgfe/fashiondebate.pk/wp-content/plugins/elementor-pro/core/behaviors//feature-lock.php
<?php
namespace ElementorPro\Core\Behaviors;

use ElementorPro\License\API;
use ElementorPro\Plugin;

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

class Feature_Lock implements Temp_Lock_Behavior {

	private $config;

	public function __construct( $config = [] ) {
		$this->config = $config;
	}

	public function is_locked() {
		return ! API::is_license_active();
	}

	public function get_config() {
		$utm_args = [
			'utm_source' => '%%utm_source%%', // Will be replaced in the frontend.
			'utm_medium' => '%%utm_medium%%',
			'utm_campaign' => API::is_license_expired()
				? 'renew-license'
				: 'connect-and-activate-license',
			'utm_term' => $this->config['type'],
		];

		$connect_url = Plugin::instance()->license_admin->get_connect_url( $utm_args );

		$renew_url = add_query_arg( $utm_args, 'https://my.elementor.com/subscriptions/' );

		return [
			'is_locked' => $this->is_locked(),
			'badge' => [
				'icon' => 'eicon-lock',
				'text' => esc_html__( 'Pro', 'elementor-pro' ),
			],
			'content' => [
				'heading' => esc_html__( 'You need an active Elementor Pro license', 'elementor-pro' ),
				'description' => esc_html__( 'Your Elementor Pro license is inactive. To access premium Elementor widgets, templates, support & plugin updates activate your Pro license.', 'elementor-pro' ),
			],
			'button' => [
				'text' => API::is_license_expired()
					? esc_html__( 'Renew now', 'elementor-pro' )
					: esc_html__( 'Connect & Activate', 'elementor-pro' ),

				'url' => API::is_license_expired()
					? $renew_url
					: $connect_url,
			],
		];
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 23 2025 22:40:18
sadasgfe / sadasgfe
0755
feature-lock.php
1.563 KB
March 23 2025 22:40:18
sadasgfe / sadasgfe
0644
temp-lock-behavior.php
0.703 KB
March 23 2025 22:40:18
sadasgfe / sadasgfe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF