HEX
Server: Apache
System: Linux webm014.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: circuix (152771)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/circuix/www/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,
			]
		);
	}
}