NOX-ROOT-MARAZ Manager v2
PHP 8+ Secure
/
home
/
xiedrke
/
malino
/
wp-content
/
plugins
/
trendz-plus
/
modules
/
blog
/
elementor
/
Name
Size
Perms
Actions
📁 widgets
-
0755
Chmod
|
Delete
📄 index.php
1,024 B
0644
Edit
|
Chmod
|
Delete
Editing: index.php
<?php if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } if( !class_exists( 'TrendzPlusBlogArchiveElementor' ) ) { class TrendzPlusBlogArchiveElementor { 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_PLUS_DIR_PATH. 'modules/blog/elementor/widgets/*/index.php' ) as $module ) { include_once $module; } } } } TrendzPlusBlogArchiveElementor::instance();
Cancel