PluginProbe
Elementor Website Builder – more than just a page builder / 3.16.2
Elementor Website Builder – more than just a page builder v3.16.2
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 / core / app / modules / kit-library / connect / kit-library.php

kit-library.php in Elementor Website Builder – more than just a page builder 3.16.2, at core/app/modules/kit-library/connect/kit-library.php

29 lines 707 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace Elementor\Core\App\Modules\KitLibrary\Connect;
3
4 use Elementor\App\Modules\KitLibrary\Connect\Kit_Library as Kit_Library_Connect;
5 use Elementor\Core\Common\Modules\Connect\Apps\Library;
6 use Elementor\Plugin;
7
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit; // Exit if accessed directly
10 }
11
12 /**
13 * This App class exists for backwards compatibility with 3rd parties.
14 *
15 * @deprecated 3.8.0
16 */
17 class Kit_Library extends Library {
18
19 /**
20 * @deprecated 3.8.0
21 */
22 public function is_connected() {
23 /** @var Kit_Library_Connect $kit_library */
24 $kit_library = Plugin::$instance->common->get_component( 'connect' )->get_app( 'kit-library' );
25
26 return $kit_library && $kit_library->is_connected();
27 }
28 }
29