wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_handle_upload › Hooks de Filtros WordPress

Desde2.1.0
Obsoleton/a
Parâmetros: (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
    Padrão:
  • (string) $context The type of upload action. Values include 'upload' or 'sideload'.
    Required: No
    Padrão: $action ? 'sideload' : 'upload'
Definido em:
Codex:

Filters the data array for the uploaded file.





Fonte

return apply_filters(