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



wp_handle_upload ›

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 uploaded file. @type string $type File type. }
    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(