wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_handle_upload › WordPress Filter Hooks

Seit2.1.0
Veraltetn/v
Parameter: (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. }
    Erforderlich: Nein
    Standard:
  • (string) $context The type of upload action. Values include 'upload' or 'sideload'.
    Erforderlich: Nein
    Standard: $action ? 'sideload' : 'upload'
Definiert in:
Codex:

Filters the data array for the uploaded file.





Quellcode

return apply_filters(