wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_handle_upload › Les Filtres WordPress

Depuis2.1.0
Dépréciéen/a
Paramètres: (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. }
    Requis: Non
    Défaut:
  • (string) $context The type of upload action. Values include 'upload' or 'sideload'.
    Requis: Non
    Défaut: $action ? 'sideload' : 'upload'
Défini(e) dans:
Codex:

Filters the data array for the uploaded file.





Source

return apply_filters(