wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-admin/includes/media.php › WordPress File
Functions48
› WordPress Administration Media API.
Function | Short description |
---|---|
attachment_submitbox_metadata | Displays non-editable attachment metadata in the publish meta box. |
edit_form_image_editor | Displays the image and editor in the post editor |
get_attachment_fields_to_edit | Retrieves the attachment fields to edit form fields. |
get_compat_media_markup | - |
get_image_send_to_editor | Retrieves the image HTML to send to the editor. |
get_media_item | Retrieves HTML form for modifying the image attachment. |
get_media_items | Retrieves HTML for media items of post gallery. |
get_upload_iframe_src | Retrieves the upload iframe source URL. |
image_add_caption | Adds image shortcode with caption to editor. |
image_align_input_fields | Retrieves HTML for the image alignment radio buttons with the specified one checked. |
image_attachment_fields_to_edit | Retrieves the image attachment fields to edit form fields. |
image_link_input_fields | Retrieves HTML for the Link URL buttons with the default link type as specified. |
image_media_send_to_editor | Retrieves the media element HTML to send to the editor. |
image_size_input_fields | Retrieves HTML for the size radio buttons with the specified one checked. |
media_buttons | Adds the media button to the editor. |
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 | Saves a file submitted from a POST request and create an attachment post for it. |
media_post_single_attachment_fields_to_edit | Retrieves the post non-image attachment fields to edit form fields. |
media_send_to_editor | Adds image HTML to editor. |
media_sideload_image | Downloads an image from the specified URL, saves it as an attachment, and optionally attaches it to a post. |
media_single_attachment_fields_to_edit | Retrieves the single non-image attachment fields to edit form fields. |
media_upload_flash_bypass | Displays the multi-file uploader message. |
media_upload_form | Outputs the legacy media upload form. |
media_upload_form_handler | Handles form submissions for the legacy media uploader. |
media_upload_gallery | Retrieves the legacy media uploader form in an iframe. |
media_upload_gallery_form | Adds gallery form to upload iframe. |
media_upload_header | Outputs the legacy media upload header. |
media_upload_html_bypass | Displays the browser's built-in uploader message. |
media_upload_library | Retrieves the legacy media library form in an iframe. |
media_upload_library_form | Outputs the legacy media upload form for the media library. |
media_upload_max_image_resize | Displays the checkbox to scale images. |
media_upload_tabs | Defines the default media upload tabs. |
media_upload_text_after | Used to display a "After a file has been uploaded..." help message. |
media_upload_type_form | Outputs the legacy media upload form for a given media type. |
media_upload_type_url_form | Outputs the legacy media upload form for external media. |
multisite_over_quota_message | Displays the out of storage quota message in Multisite. |
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. |
wp_add_id3_tag_data | Parses ID3v2, ID3v1, and getID3 comments to extract usable data. |
wp_caption_input_textarea | Outputs a textarea element for inputting an attachment caption. |
wp_get_media_creation_timestamp | Parses creation date from media metadata. |
wp_iframe | Outputs the iframe to display the media upload page. |
wp_media_attach_action | Encapsulates the logic for Attach/Detach actions. |
wp_media_insert_url_form | Creates the form for external url. |
wp_media_upload_handler | Handles the process of uploading media. |
wp_read_audio_metadata | Retrieves metadata from an audio file's ID3 tags. |
wp_read_video_metadata | Retrieves metadata from a video file's ID3 tags. |
_cleanup_image_add_caption | Private preg_replace callback used in image_add_caption(). |