| Server IP : 109.234.162.214 / Your IP : 216.73.216.34 Web Server : Apache System : Linux servd162214.srv.odns.fr 4.18.0-372.26.1.lve.1.el8.x86_64 #1 SMP Fri Sep 16 14:08:19 EDT 2022 x86_64 User : carpe ( 1178) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/carpe/save/wp/wp-content/plugins/elementor/modules/link-in-bio/ |
Upload File : |
<?php
namespace Elementor\Modules\LinkInBio;
use Elementor\Core\Base\Module as BaseModule;
use Elementor\Core\Experiments\Manager;
use Elementor\Plugin;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Module extends BaseModule {
const EXPERIMENT_NAME = 'link-in-bio';
public static function is_active(): bool {
return Plugin::$instance->experiments->is_feature_active( static::EXPERIMENT_NAME );
}
public function get_name(): string {
return static::EXPERIMENT_NAME;
}
public function get_widgets(): array {
return [
'Link_In_Bio',
];
}
public static function get_experimental_data(): array {
return [
'name' => static::EXPERIMENT_NAME,
'title' => esc_html__( 'Link In Bio', 'elementor' ),
'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' ),
'default' => Manager::STATE_INACTIVE,
'release_status' => Manager::RELEASE_STATUS_BETA,
'new_site' => [
'default_active' => true,
'minimum_installation_version' => '3.23.0',
],
];
}
}