示例#1
0
 /**
  * Constructor. Hooks all interactions to initialize the class.
  *
  * @since 0.0.1
  */
 public function __construct()
 {
     $upload_dir = wp_upload_dir();
     $this->demo_files_path = trailingslashit($upload_dir['path']);
     self::$instance = $this;
     parent::__construct();
 }
示例#2
0
 /**
  * Constructor. Hooks all interactions to initialize the class.
  *
  * @since 0.0.1
  */
 public function __construct($parent, $redux_instance)
 {
     $this->parent = $parent;
     $this->ReduxParent = $redux_instance;
     $this->active_import = $this->parent->active_import;
     $this->active_import_id = $this->parent->active_import_id;
     $this->initSettings();
     self::$instance = $this;
     parent::__construct();
 }
示例#3
0
 /**
  * Constructor. Hooks all interactions to initialize the class.
  *
  * @since 0.0.1
  */
 public function __construct()
 {
     $this->demo_files_path = dirname(__FILE__) . '/demo-files/';
     self::$instance = $this;
     parent::__construct();
 }
示例#4
0
文件: init.php 项目: keymech/keymech
 /**
  * Constructor. Hooks all interactions to initialize the class.
  *
  * @since 0.0.1
  */
 public function __construct()
 {
     $this->demo_files_path = get_template_directory() . '/includes/radium-one-click-demo-install/demo-files/';
     //can
     self::$instance = $this;
     parent::__construct();
 }
示例#5
0
文件: init.php 项目: alysilv/sila
 /**
  * Constructor. Hooks all interactions to initialize the class.
  *
  * @since 0.0.1
  */
 public function __construct()
 {
     $this->demo_files_path = ST_THEME_DIR . '/dummy-data/';
     self::$instance = $this;
     parent::__construct();
 }
示例#6
0
 /**
  * Constructor. Hooks all interactions to initialize the class.
  *
  * @since 0.0.1
  */
 public function __construct()
 {
     $this->demo_files_path = get_template_directory_uri() . '/core/one-click-demo/demo-files/';
     //can
     self::$instance = $this;
     parent::__construct();
 }
示例#7
0
 /**
  * Constructor. Hooks all interactions to initialize the class.
  *
  * @since 0.0.1
  */
 public function __construct()
 {
     $this->demo_files_path = get_template_directory() . '/demo-content/';
     self::$instance = $this;
     parent::__construct();
 }
示例#8
0
 /**
  * Constructor. Hooks all interactions to initialize the class.
  *
  * @since 0.0.1
  */
 public function __construct()
 {
     $this->demo_files_path = get_template_directory() . '/lib/one-click-install/demo-data/';
     //can
     self::$instance = $this;
     parent::__construct();
 }