PluginProbe
Elementor Website Builder – more than just a page builder / 4.0.0-dev5
Elementor Website Builder – more than just a page builder v4.0.0-dev5
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
elementor / app / modules / onboarding / data / endpoints / pro-install-screen.php

pro-install-screen.php in Elementor Website Builder – more than just a page builder 4.0.0-dev5, at app/modules/onboarding/data/endpoints/pro-install-screen.php

36 lines 659 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Elementor\App\Modules\Onboarding\Data\Endpoints;
4
5 use Elementor\App\Modules\Onboarding\Module;
6 use Elementor\Data\V2\Base\Endpoint as Endpoint_Base;
7
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit;
10 }
11
12 class Pro_Install_Screen extends Endpoint_Base {
13
14 public function get_name(): string {
15 return 'pro-install-screen';
16 }
17
18 public function get_format(): string {
19 return 'onboarding';
20 }
21
22 protected function register(): void {
23 parent::register();
24
25 $this->register_items_route();
26 }
27
28 public function get_items( $request ) {
29 return [
30 'data' => [
31 'shouldShowProInstallScreen' => Module::should_show_pro_install_screen(),
32 ],
33 ];
34 }
35 }
36