learndash_essay_fileupload_process

learndash_essay_fileupload_process( array $uploadfiles,  int $question_id )

Handles the file uploads for the essays.


Description #


Parameters #

$uploadfiles

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

$question_id

(int) (Required) Question ID.


Return #

(array) An array of file data like file name and link.


Source #

File: includes/quiz/ld-quiz-essays.php


Changelog #

Changelog
Version Description
2.2.0 Introduced.