Upload::__construct()

Method: Initialize the class.

Upload::prepare()

Method: Prepare field.

Upload::sanitize_cb_args()

Method: Arguments passed to sanitization callback.

Upload::format_multiple_files()

Method: Format $_FILES field which have multiple files.

Upload::unsafe_value()

Method: Get POST (unsafe) value of a field.

Upload::field_markup()

Method: Field markup.

Upload::replace_temp_image()

Method: Replace all dummy images found in editor type field.

Upload::file_name_search_replace()

Method: Callback for preg replace callback for replacing temporary images in a string.

Upload::upload_file()

Method: Upload a file.

Upload::save_uploads()

Method: Save all uploads to server.