Learndash_Admin_Import_Export_File_Handler
Class LearnDash Admin Import/Export Base File Handler.
Description #
Source #
File: includes/admin/classes-import-export/common/class-learndash-admin-import-export-file-handler.php
Changelog #
Version | Description |
---|---|
4.3.0 | Introduced. |
Methods #
- __construct — Constructor.
- add_index_file — Add the index.php file to prevent directory listing.
- create_media_directory — Creates a directory to store the media files.
- create_work_directory — Creates a directory to store the files.
- get_file_path_by_name — Returns the file path.
- get_log_file_link — Returns the log file link.
- get_log_file_url — Returns the log file URL.
- get_logger_directory — Returns the logger directory.
- get_logger_path — Returns the logger file path.
- get_logger_path_id — Returns the logger path ID.
- get_media_file_path_by_name — Returns the media directory path.
- get_protect_instructions — Returns the protect instructions.
- handle_import_export_error — Processes errors for import/export.
- remove_directory_recursively — Deletes a directory recursively.