| Server IP : 198.54.115.198 / Your IP : 216.73.216.142 Web Server : LiteSpeed System : Linux server192.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : seatpheu ( 1569) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/seatpheu/public_html/wp-content/plugins/elementor-pro/license/ |
Upload File : |
<?php
namespace ElementorPro\License;
use ElementorOne\Connect\Facade;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class One {
/**
* Check if Elementor One is connected.
*
* @return bool
*/
public static function is_connected(): bool {
if ( ! class_exists( Facade::class ) ) {
return false;
}
$facade = Facade::get( 'elementor-pro' );
return $facade ? $facade->utils()->is_connected() : false;
}
/**
* Get the subscription display name for Elementor One.
*
* @return string
*/
public static function get_subscription_display_name(): string {
return 'Elementor One';
}
/**
* Get the manage subscription URL when One is connected.
*
* @return string
*/
public static function get_manage_subscription_url(): string {
return admin_url( 'admin.php?page=elementor-home#/home/tool-manager' );
}
}