PluginProbe
Elementor Website Builder – more than just a page builder / 3.23.0-dev3
Elementor Website Builder – more than just a page builder v3.23.0-dev3
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 / modules / link-in-bio / module.php

module.php in Elementor Website Builder – more than just a page builder 3.23.0-dev3, at modules/link-in-bio/module.php

45 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Elementor\Modules\LinkInBio;
4
5 use Elementor\Core\Base\Module as BaseModule;
6 use Elementor\Core\Experiments\Manager;
7 use Elementor\Plugin;
8
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit; // Exit if accessed directly
11 }
12
13 class Module extends BaseModule {
14
15 const EXPERIMENT_NAME = 'link-in-bio';
16
17 public static function is_active(): bool {
18 return Plugin::$instance->experiments->is_feature_active( static::EXPERIMENT_NAME );
19 }
20
21 public function get_name(): string {
22 return static::EXPERIMENT_NAME;
23 }
24
25 public function get_widgets(): array {
26 return [
27 'Link_In_Bio',
28 ];
29 }
30
31 public static function get_experimental_data(): array {
32 return [
33 'name' => static::EXPERIMENT_NAME,
34 'title' => esc_html__( 'Link In Bio', 'elementor' ),
35 'description' => esc_html__( 'Create bio link landing pages and digital business cards that convert with Link in Bio widgets. Share your link in bio pages on your social media profiles. Create as many as you need for different audiences and goals.', 'elementor' ),
36 'default' => Manager::STATE_INACTIVE,
37 'release_status' => Manager::RELEASE_STATUS_BETA,
38 'new_site' => [
39 'default_active' => true,
40 'minimum_installation_version' => '3.23.0',
41 ],
42 ];
43 }
44 }
45