Files
CoeurUAPam/wp-content/plugins/header-footer-elementor/themes/hello-elementor/class-hfe-hello-elementor-compat.php
T
2025-11-18 16:39:33 +00:00

40 lines
753 B
PHP

<?php
/**
* HFE_Hello_Elementor_Compat setup
*
* @package header-footer-elementor
*/
/**
* Hello Elementor compatibility.
*/
class HFE_Hello_Elementor_Compat {
/**
* Instance of HFE_Hello_Elementor_Compat.
*
* @var HFE_Hello_Elementor_Compat|null
*/
private static $instance = null;
/**
* Initiator
*
* @return HFE_Hello_Elementor_Compat
*/
// phpcs:ignore
public static function instance(): HFE_Hello_Elementor_Compat {
if ( ! isset( self::$instance ) ) {
self::$instance = new HFE_Hello_Elementor_Compat();
if ( ! class_exists( 'HFE_Default_Compat' ) ) {
require_once HFE_DIR . 'themes/default/class-hfe-default-compat.php';
}
}
return self::$instance;
}
}
HFE_Hello_Elementor_Compat::instance();