NOX-ROOT-MARAZ Manager v2
PHP 8+ Secure
/
home
/
xiedrke
/
malino
/
wp-content
/
plugins
/
trendz-pro
/
modules
/
404
/
Name
Size
Perms
Actions
📁 assets
-
0755
Chmod
|
Delete
📁 customizer
-
0755
Chmod
|
Delete
📁 layouts
-
0755
Chmod
|
Delete
📄 index.php
1,156 B
0644
Edit
|
Chmod
|
Delete
Editing: index.php
<?php if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } if( !class_exists( 'TrendzPro404' ) ) { class TrendzPro404 { private static $_instance = null; public static function instance() { if ( is_null( self::$_instance ) ) { self::$_instance = new self(); } return self::$_instance; } function __construct() { $this->load_modules(); $this->frontend(); } function load_modules() { include_once TRENDZ_PRO_DIR_PATH.'modules/404/customizer/index.php'; include_once TRENDZ_PRO_DIR_PATH.'modules/404/template-loader.php'; } function frontend() { add_action( 'trendz_after_main_css', array( $this, 'enqueue_css_assets' ), 20 ); } function enqueue_css_assets() { if( is_404() ) { wp_enqueue_style( 'trendz-pro-notfound', TRENDZ_PRO_DIR_URL . 'modules/404/assets/css/404.css', false, TRENDZ_PRO_VERSION, 'all'); } } } } TrendzPro404::instance();
Cancel