[ Index ]

PHP Cross Reference of WordPress




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

Upgrade API: File_Upload_Upgrader class

File Size: 133 lines (3 kb)
Included or required:0 times
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.

since: 2.8.0
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.
since: 3.2.2

Generated: Mon Aug 8 01:00:03 2022 Cross-referenced by PHPXref 0.7.1