Server IP : 66.29.132.124 / Your IP : 3.144.227.187 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/wavestudioz.com/wp-content/plugins/elementor/modules/editor-events/ |
Upload File : |
<?php namespace Elementor\Modules\EditorEvents; use Elementor\Core\Base\Module as BaseModule; use Elementor\Core\Common\Modules\Connect\Apps\Base_App; use Elementor\Tracker; use Elementor\Utils; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } class Module extends BaseModule { public function get_name() { return 'editor-events'; } public static function get_editor_events_config() { $can_send_events = Tracker::is_allow_track() && defined( 'ELEMENTOR_EDITOR_EVENTS_DATA_SYSTEM_URL' ); $settings = [ 'can_send_events' => $can_send_events, 'elementor_version' => ELEMENTOR_VERSION, 'site_url' => get_site_url(), 'wp_version' => get_bloginfo( 'version' ), 'user_agent' => esc_html( Utils::get_super_global_value( $_SERVER, 'HTTP_USER_AGENT' ) ), 'site_language' => get_locale(), 'site_key' => get_option( Base_App::OPTION_CONNECT_SITE_KEY ), 'subscription_id' => null, ]; if ( $can_send_events ) { $settings['data_system_url'] = ELEMENTOR_EDITOR_EVENTS_DATA_SYSTEM_URL; } return $settings; } }