Browse: Home / Classes / Learndash_Admin_Export_Posts /

Learndash_Admin_Export_Posts::__construct

Learndash_Admin_Export_Posts::__construct( string $post_type,  Learndash_Admin_Export_File_Handler $file_handler,  Learndash_Import_Export_Logger $logger )

Constructor.


Description #


Parameters #

$post_type

(string) (Required) Post type.

$file_handler

(Learndash_Admin_Export_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/export/class-learndash-admin-export-posts.php


Changelog #

Changelog
Version Description
4.5.0 Changed the $logger param to the Learndash_Import_Export_Logger class.
4.3.0 Introduced.