/** * 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(); }
/** * 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(); }
/** * 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(); }
/** * 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(); }
/** * 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(); }
/** * 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(); }
/** * 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(); }
/** * 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(); }