?AlkantarClanX12
| Current Path : /home/r/a/n/rankinh/lynkandco/wp-content/plugins/nexteuv-shop/modules/single/customizer/ |
| Current File : /home/r/a/n/rankinh/lynkandco/wp-content/plugins/nexteuv-shop/modules/single/customizer/index.php |
<?php
/**
* Customizer - Product Single Settings
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
if( !class_exists( 'NextEuv_Shop_Customizer_Single' ) ) {
class NextEuv_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( NEXTEUV_SHOP_MODULE_PATH. 'single/customizer/sections/*.php' ) as $module ) {
include_once $module;
}
}
}
}
if( !function_exists('nexteuv_shop_customizer_single') ) {
function nexteuv_shop_customizer_single() {
return NextEuv_Shop_Customizer_Single::instance();
}
}
nexteuv_shop_customizer_single();