wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_handle_upload › WordPress Filter Hooks

Da2.1.0
Deprecaton/a
Parametri: (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. }
    Richiesto: No
    Default:
  • (string) $context The type of upload action. Values include 'upload' or 'sideload'.
    Richiesto: No
    Default: $action ? 'sideload' : 'upload'
Definito a:
Codex:

Filters the data array for the uploaded file.





Sorgenti

return apply_filters(