learndash_fileupload_process

learndash_fileupload_process( array $uploadfiles,  int $post_id )

Handles file upload process.


Description #


Parameters #

$uploadfiles

(array) (Required) An array of uploaded files data.

$post_id

(int) (Required) The assignment ID.


Return #

(array) Returns file data after upload such as file name and file URL.


Source #

File: includes/ld-assignment-uploads.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.