Sindbad~EG File Manager
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
if( !class_exists( 'TrendzPlusCustomizerSiteGeneral' ) ) {
class TrendzPlusCustomizerSiteGeneral {
private static $_instance = null;
public static function instance() {
if ( is_null( self::$_instance ) ) {
self::$_instance = new self();
}
return self::$_instance;
}
function __construct() {
add_action( 'customize_register', array( $this, 'register' ), 15 );
}
function register( $wp_customize ) {
/**
* Panel
*/
$wp_customize->add_panel(
new Trendz_Customize_Panel(
$wp_customize,
'site-general-main-panel',
array(
'title' => esc_html__('Site General', 'trendz-plus'),
'priority' => trendz_customizer_panel_priority( 'general' )
)
)
);
do_action('trendz_general_cutomizer_options', $wp_customize );
}
}
}
TrendzPlusCustomizerSiteGeneral::instance();
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists