public function create_restore_root_folder() { $this->logger->log_info(__METHOD__, 'Create restore folder.' . $this->restore_root_folder_path); $fileSystem = new WPBackItUp_FileSystem($this->logger); if ($fileSystem->create_dir($this->restore_root_folder_path)) { //Secure restore folder $fileSystem->secure_folder($this->restore_root_folder_path); return true; } else { return false; } }