Core Class
View Source on Trac ↗
Core Class
File_Upload_Upgrader
class File_Upload_Upgrader
// Constructor: function Object() { [native code] } Core class used for handling file uploads.
Methods 2 methods
| Method / Return | Description |
|---|---|
| __construct() void | Construct the upgrader for a form.
Parameters: $form: mixed, $urlholder: mixed |
| cleanup() bool | Deletes the attachment/uploaded file. |
Properties
| Property / Type | Description |
|---|---|
| $package mixed public | No description available. |
| $filename mixed public | No description available. |
| $id mixed public | No description available. |
Class Information
Since Version
2.8.0
Source File
wp-admin/includes/class-file-upload-upgrader.php
Advertisement