Handles form submissions for the legacy media uploader.
get_upload_iframe_src
media_buttons
Adds the media button to the editor
wp_iframe
Adds the iframe to display content for the media upload page
Advertisement
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_send_to_editor
Adds image html to editor
_cleanup_image_add_caption
Private preg_replace callback used in image_add_caption()
Advertisement
image_add_caption
Adds image shortcode with caption to editor
get_image_send_to_editor
Retrieves the image HTML to send to the editor.
the_media_upload_tabs
Outputs the legacy media upload tabs UI.
update_gallery_tab
Adds the gallery tab back to the tabs array if post has image attachments
Advertisement
media_upload_tabs
Defines the default media upload tabs
print_column_headers
Prints column headers for a particular screen.
register_column_headers
Register column headers for a particular screen.