wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_handle_upload › WordPress Filter Hooks

Since2.1.0
Deprecatedn/a
Parameters: (2)
  • (array) $upload { Array of upload data. @type string $file Filename of the newly-uploaded file. @type string $url URL of the newly-uploaded file. @type string $type Mime type of the newly-uploaded file. }
    Required: No
    Default:
  • (string) $context The type of upload action. Values include 'upload' or 'sideload'.
    Required: No
    Default: $action ? 'sideload' : 'upload'
Defined at:
Codex:

Filters the data array for the uploaded file.





Source

return apply_filters(