HEX
Server: LiteSpeed
System: Linux cde4.duelhost.dk 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User: xluilhul (1144)
PHP: 8.2.30
Disabled: exec,system,passthru,shell_exec,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/xluilhul/public_html/wp-content/plugins/elementor/app/modules/site-builder/connect/app.php
<?php
namespace Elementor\App\Modules\SiteBuilder\Connect;

use Elementor\Core\Common\Modules\Connect\Apps\Library;

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

class App extends Library {
	const API_URL = 'https://my.elementor.com/api/v2/builder/';

	public function get_title() {
		return esc_html__( 'Site Builder', 'elementor' );
	}

	protected function get_slug() {
		return 'site-builder';
	}

	protected function get_api_url() {
		if ( defined( 'ELEMENTOR_SITE_BUILDER_API_ORIGIN' ) ) {
			return ELEMENTOR_SITE_BUILDER_API_ORIGIN . '/api/v2/builder/';
		}

		return static::API_URL;
	}

	public function get_home_screen() {
		return $this->http_request(
			'GET',
			'website-planner/session/home-screen',
			[
				'headers' => [
					'x-host-site-title' => (string) get_bloginfo( 'name' ),
					'x-host-site-context' => (string) get_bloginfo( 'description' ),
				],
			],
			[
				'return_type' => static::HTTP_RETURN_TYPE_ARRAY,
			]
		);
	}
}