NOX-ROOT-MARAZ Manager v2
PHP 8+ Secure
/
home
/
xiedrke
/
malino
/
wp-content
/
plugins
/
trendz-pro
/
modules
/
side-nav
/
elementor
/
Name
Size
Perms
Actions
📁 widgets
-
0755
Chmod
|
Delete
📄 index.php
1,012 B
0644
Edit
|
Chmod
|
Delete
Editing: index.php
<?php if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } if( !class_exists( 'TrendzProSideNavElementor' ) ) { class TrendzProSideNavElementor { private static $_instance = null; const MINIMUM_ELEMENTOR_VERSION = '3.0.0'; const MINIMUM_PHP_VERSION = '7.2'; public static function instance() { if ( is_null( self::$_instance ) ) { self::$_instance = new self(); } return self::$_instance; } function __construct() { add_action( 'plugins_loaded', array( $this, 'register_init' ) ); } function register_init() { $this->load_modules(); } function load_modules() { foreach( glob( TRENDZ_PRO_DIR_PATH. 'modules/side-nav/elementor/widgets/*/index.php' ) as $module ) { include_once $module; } } } } TrendzProSideNavElementor::instance();
Cancel