Sindbad~EG File Manager
<?php
/**
* Customizer - Product Single Settings
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
if( !class_exists( 'Trendz_Shop_Customizer_Single' ) ) {
class Trendz_Shop_Customizer_Single {
private static $_instance = null;
public static function instance() {
if ( is_null( self::$_instance ) ) {
self::$_instance = new self();
}
return self::$_instance;
}
function __construct() {
// Load Sections
$this->load_sections();
}
/*
Load Sections
*/
function load_sections() {
foreach( glob( TRENDZ_SHOP_MODULE_PATH. 'single/customizer/sections/*.php' ) as $module ) {
include_once $module;
}
}
}
}
if( !function_exists('trendz_shop_customizer_single') ) {
function trendz_shop_customizer_single() {
return Trendz_Shop_Customizer_Single::instance();
}
}
trendz_shop_customizer_single();
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists