Learndash_Admin_Import_Pages::__construct( int $user_id, string $home_url, Learndash_Admin_Import_File_Handler $file_handler, Learndash_Import_Export_Logger $logger )
Constructor.
Description #
Parameters #
- $user_id
-
(int) (Required) User ID. All posts are attached to this user.
- $home_url
-
(string) (Required) The previous home url.
- $file_handler
-
(Learndash_Admin_Import_File_Handler) (Required) File Handler class instance.
- $logger
-
(Learndash_Import_Export_Logger) (Required) Logger class instance.
Return #
(void)
Source #
File: includes/admin/classes-import-export/import/class-learndash-admin-import-pages.php
Changelog #
Version | Description |
---|---|
4.5.0 | Changed the $logger param to the Learndash_Import_Export_Logger class. |
4.3.0 | Introduced. |