Sindbad~EG File Manager
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
if( !class_exists( 'TrendzProBlogPostElementor' ) ) {
class TrendzProBlogPostElementor {
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/post/elementor/widgets/*/index.php' ) as $module ) {
include_once $module;
}
}
}
}
TrendzProBlogPostElementor::instance();
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists