Learndash_Admin_Export_File_Handler::add_media_file Learndash_Admin_Export_File_Handler::add_media_file( int $media_id ) Copy the media file into the specific work dir. ContentsDescription Parameters Return Source Changelog Related @package Uses Description # Parameters # $media_id (int) (Required) The media ID. Return # (void) Source # File: includes/admin/classes-import-export/export/class-learndash-admin-export-file-handler.php Changelog # Changelog Version Description 4.3.0 Introduced. Related # @package # LearnDash Uses # Uses Uses Description includes/admin/classes-import-export/export/class-learndash-admin-export-file-handler.php: Learndash_Admin_Export_File_Handler::close () Closes the current file’s stream. includes/admin/classes-import-export/export/class-learndash-admin-export-file-handler.php: learndash_export_media_object Filters the media object to export. includes/admin/classes-import-export/export/class-learndash-admin-export-file-handler.php: Learndash_Admin_Export_File_Handler::init () Init. includes/admin/classes-import-export/export/class-learndash-admin-export-file-handler.php: Learndash_Admin_Export_File_Handler::open () Opens or creates an export file in the work dir. includes/admin/classes-import-export/export/class-learndash-admin-export-file-handler.php: Learndash_Admin_Export_File_Handler::add_content () Adds data to the current file.
Uses # Uses Uses Description includes/admin/classes-import-export/export/class-learndash-admin-export-file-handler.php: Learndash_Admin_Export_File_Handler::close () Closes the current file’s stream. includes/admin/classes-import-export/export/class-learndash-admin-export-file-handler.php: learndash_export_media_object Filters the media object to export. includes/admin/classes-import-export/export/class-learndash-admin-export-file-handler.php: Learndash_Admin_Export_File_Handler::init () Init. includes/admin/classes-import-export/export/class-learndash-admin-export-file-handler.php: Learndash_Admin_Export_File_Handler::open () Opens or creates an export file in the work dir. includes/admin/classes-import-export/export/class-learndash-admin-export-file-handler.php: Learndash_Admin_Export_File_Handler::add_content () Adds data to the current file.