learndash_fileupload_process learndash_fileupload_process( array $uploadfiles, int $post_id ) Handles file upload process. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Used By 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. Related # Namespace # global @package # LearnDash / Assignments Uses # Uses Uses Description includes/ld-misc-functions.php: learndash_put_directory_index_file () Add index file to directory includes/ld-assignment-uploads.php: learndash_assignment_upload_filename Filters the assignment upload filename. includes/ld-assignment-uploads.php: learndash_clean_filename () Cleans file name on upload. includes/ld-assignment-uploads.php: learndash_upload_assignment_init () Handles assignment uploads. Used By # Used By Used By Description includes/ld-assignment-uploads.php: learndash_assignment_process_init () Handles the upload, delete, and mark as complete for the assignment.
Uses # Uses Uses Description includes/ld-misc-functions.php: learndash_put_directory_index_file () Add index file to directory includes/ld-assignment-uploads.php: learndash_assignment_upload_filename Filters the assignment upload filename. includes/ld-assignment-uploads.php: learndash_clean_filename () Cleans file name on upload. includes/ld-assignment-uploads.php: learndash_upload_assignment_init () Handles assignment uploads.
Used By # Used By Used By Description includes/ld-assignment-uploads.php: learndash_assignment_process_init () Handles the upload, delete, and mark as complete for the assignment.