[ Index ]

WordPress 5.4.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    




/wp-admin/includes/ -> class-file-upload-upgrader.php (summary)

Upgrade API: File_Upload_Upgrader class

File Size: 133 lines (3 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

File_Upload_Upgrader:: (2 methods):

Class: File_Upload_Upgrader  - X-Ref

Core class used for handling file uploads.

This class handles the upload process and passes it as if it's a local file
to the Upgrade/Installer functions.

__construct( $form, $urlholder )   X-Ref
Construct the upgrader for a form.

param: string $form      The name of the form the file was uploaded from.
param: string $urlholder The name of the `GET` parameter that holds the filename.

cleanup()   X-Ref
Delete the attachment/uploaded file.

return: bool Whether the cleanup was successful.

Generated: Tue May 19 15:51:04 2020 Cross-referenced by PHPXref 0.7.1