예제 #1
0
파일: bootstrap.php 프로젝트: ksingh812/epb
<?php

defined('ABSPATH') or die;
// ensure EXT is defined
if (!defined('EXT')) {
    define('EXT', '.php');
}
$basepath = dirname(__FILE__) . DIRECTORY_SEPARATOR;
require $basepath . 'core' . EXT;
// load classes
$interfacepath = $basepath . 'interfaces' . DIRECTORY_SEPARATOR;
pixcustomify::require_all($interfacepath);
$classpath = $basepath . 'classes' . DIRECTORY_SEPARATOR;
pixcustomify::require_all($classpath);
// load callbacks
$callbackpath = $basepath . 'callbacks' . DIRECTORY_SEPARATOR;
pixcustomify::require_all($callbackpath);
예제 #2
0
 protected function register_customizer_controls()
 {
     // first get the base customizer extend class
     require_once self::get_base_path() . '/features/customizer/class-Pix_Customize_Control.php';
     // now get all the controls
     $path = self::get_base_path() . '/features/customizer/controls/';
     pixcustomify::require_all($path);
 }