Learndash_Admin_Export_File_Handler
Class LearnDash Admin Export File Handler.
Description #
Source #
File: includes/admin/classes-import-export/export/class-learndash-admin-export-file-handler.php
Changelog #
Version | Description |
---|---|
4.3.0 | Introduced. |
Methods #
- __construct — Constructor.
- add_content — Adds data to the current file.
- add_media_file — Copy the media file into the specific work dir.
- add_raw_folder — Adds a folder to be copied to the zip file.
- close — Closes the current file's stream.
- delete_zip_archive — Deletes the zip archive.
- generate_zip_archive — Generates the zip file.
- get_export_zip_directory — Returns the export zip directory path.
- get_logger_directory — Returns the logger directory.
- get_logger_path_id — Returns the logger path ID.
- get_zip_archive_time_created — Returns the zip time created.
- get_zip_archive_url — Returns the zip url.
- init — Init.
- init_zip — Init Zip.
- open — Opens or creates an export file in the work dir.
- zip_archive_exists — Returns true if the zip archive exist.