WordPress at a glance
Home Functions From tag: upload download (file system)

upload download (file system) (tag)

download_url()

Downloads a URL to a local temporary file using the WordPress HTTP Class. Please note, That the calling function must unlink() the file.

media_handle_sideload()

Handles a side-loaded file in the same way as an uploaded file is handled by media_handle_upload().

media_handle_upload()

Save a file submitted from a POST request and create an attachment post for it.

media_sideload_image()

Downloads an image from the specified URL and attaches it to a post.

size_format()

Convert number of bytes largest unit bytes will fit into.

wp_get_upload_dir()

Retrieves uploads directory information.

wp_handle_sideload()

Wrapper for _wp_handle_upload().

wp_handle_upload()

Wrapper for _wp_handle_upload().

wp_upload_bits()

Create a file in the upload folder with given content.