• File: pro-install-screen.php
  • Full Path: /home/bravrvjk/hpgt.org/wp-content/plugins/elementor/app/modules/onboarding/data/endpoints/pro-install-screen.php
  • Date Modified: 03/30/2026 1:49 PM
  • File size: 659 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace Elementor\App\Modules\Onboarding\Data\Endpoints;

use Elementor\App\Modules\Onboarding\Module;
use Elementor\Data\V2\Base\Endpoint as Endpoint_Base;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

class Pro_Install_Screen extends Endpoint_Base {

	public function get_name(): string {
		return 'pro-install-screen';
	}

	public function get_format(): string {
		return 'onboarding';
	}

	protected function register(): void {
		parent::register();

		$this->register_items_route();
	}

	public function get_items( $request ) {
		return [
			'data' => [
				'shouldShowProInstallScreen' => Module::should_show_pro_install_screen(),
			],
		];
	}
}