Function: media_upload_file

media_upload_file( )

Handles uploading a generic file.

Returns

null | string

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.