| Server IP : 173.249.148.11 / Your IP : 216.73.216.6 Web Server : Apache/2.4.68 (AlmaLinux) System : Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64 User : devinter ( 1006) PHP Version : 8.3.35 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /chroot/home/devinter/public_html/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;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Module extends BaseModule {
const EXPERIMENT_NAME = 'link-in-bio';
public function get_name(): string {
return static::EXPERIMENT_NAME;
}
public function get_widgets(): array {
return [
'Link_In_Bio',
];
}
// TODO: This is a hidden experiment which needs to remain enabled like this until 3.26 for pro compatibility.
public static function get_experimental_data() {
return [
'name' => self::EXPERIMENT_NAME,
'title' => esc_html__( 'Link In Bio', 'elementor' ),
'hidden' => true,
'default' => Manager::STATE_ACTIVE,
'release_status' => Manager::RELEASE_STATUS_STABLE,
'mutable' => false,
];
}
public function __construct() {
parent::__construct();
add_action( 'elementor/frontend/after_register_styles', [ $this, 'register_styles' ] );
}
/**
* Register styles.
*
* At build time, Elementor compiles `/modules/link-in-bio/assets/scss/frontend.scss`
* to `/assets/css/widget-link-in-bio.min.css`.
*
* @return void
*/
public function register_styles() {
wp_register_style(
'widget-link-in-bio',
$this->get_css_assets_url( 'widget-link-in-bio', null, true, true ),
[ 'elementor-frontend' ],
ELEMENTOR_VERSION
);
}
}