Summery Summery
Filters the data array for the uploaded file.
Syntax Syntax
Parameters Parameters
- $upload
-
Array of upload data.
- 'file'
(string) Filename of the newly-uploaded file. - 'url'
(string) URL of the newly-uploaded file. - 'type'
(string) Mime type of the newly-uploaded file.
- 'file'
- $context
-
The type of upload action. Values include 'upload' or 'sideload'.
Source Source
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |