Browse: Home / Classes / Learndash_Admin_Import_Proquiz /

Learndash_Admin_Import_Proquiz::__construct

Learndash_Admin_Import_Proquiz::__construct( int $user_id,  WpProQuiz_Helper_Import $quiz_importer,  string $home_url,  Learndash_Admin_Import_File_Handler $file_handler,  Learndash_Admin_Import_Export_Logger $logger )

Constructor.


Description #


Parameters #

$user_id

(int) (Required) User ID. All posts are attached to this user.

$quiz_importer

(WpProQuiz_Helper_Import) (Required) Quiz Importer class instance.

$home_url

(string) (Required) The previous home url.

$file_handler

(Learndash_Admin_Import_File_Handler) (Required) File Handler class instance.

$logger

(Learndash_Admin_Import_Export_Logger) (Required) Logger class instance.


Return #

(void)


Source #

File: includes/admin/classes-import-export/import/class-learndash-admin-import-proquiz.php


Changelog #

Changelog
Version Description
4.3.0 Introduced.