PluginProbe
Elementor Website Builder – more than just a page builder / 3.30.0-beta1
Elementor Website Builder – more than just a page builder v3.30.0-beta1
4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.3.0-beta3 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 All 457 releases
elementor / app / modules / kit-library / data / cloud-kits / endpoints / eligibility.php

eligibility.php in Elementor Website Builder – more than just a page builder 3.30.0-beta1, at app/modules/kit-library/data/cloud-kits/endpoints/eligibility.php

28 lines 618 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace Elementor\App\Modules\KitLibrary\Data\CloudKits\Endpoints;
3
4 use Elementor\App\Modules\KitLibrary\Data\CloudKits\Controller;
5 use Elementor\App\Modules\KitLibrary\Module as KitLibrary;
6 use Elementor\Data\V2\Base\Endpoint;
7
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit; // Exit if accessed directly.
10 }
11
12 /**
13 * @property Controller $controller
14 */
15 class Eligibility extends Endpoint {
16 public function get_name() {
17 return 'eligibility';
18 }
19
20 public function get_format() {
21 return 'cloud-kits/eligibility';
22 }
23
24 public function get_items( $request ) {
25 return KitLibrary::get_cloud_app()->is_eligible();
26 }
27 }
28