NOX-ROOT-MARAZ Manager v2
PHP 8+ Secure
/
home
/
xiedrke
/
malino
/
wp-content
/
plugins
/
trendz-plus
/
modules
/
breadcrumb
/
Name
Size
Perms
Actions
📁 assets
-
0755
Chmod
|
Delete
📁 customizer
-
0755
Chmod
|
Delete
📁 layouts
-
0755
Chmod
|
Delete
📁 templates
-
0755
Chmod
|
Delete
📄 index.php
1,297 B
0644
Edit
|
Chmod
|
Delete
Editing: index.php
<?php if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } if( !class_exists( 'TrendzPlusBreadcrumb' ) ) { class TrendzPlusBreadcrumb { private static $_instance = null; public static function instance() { if ( is_null( self::$_instance ) ) { self::$_instance = new self(); } return self::$_instance; } function __construct() { $this->load_breadcrumb_layouts(); $this->load_modules(); $this->load_frontend(); } function load_breadcrumb_layouts() { foreach( glob( TRENDZ_PLUS_DIR_PATH. 'modules/breadcrumb/layouts/*/index.php' ) as $module ) { include_once $module; } foreach( glob( TRENDZ_PLUS_DIR_PATH. 'modules/breadcrumb/templates/*/index.php' ) as $module ) { include_once $module; } } function load_modules() { include_once TRENDZ_PLUS_DIR_PATH.'modules/breadcrumb/customizer/index.php'; } function load_frontend() { include_once TRENDZ_PLUS_DIR_PATH.'modules/breadcrumb/templates/index.php'; } } } TrendzPlusBreadcrumb::instance();
Cancel