[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/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):
  __construct()
  cleanup()


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

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

return: bool Whether the cleanup was successful.
since: 3.2.2



Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1