wp-admin/includes/media.php
Lines:
1 to 100 of 105
<?php /** * WordPress Administration Media API. * * @package WordPress * @subpackage Administration */ /* function media_upload_tabs() – Defines the default media upload tabs */ /* function update_gallery_tab() – Adds the gallery tab back to the tabs array if post has image attachments */ /* function the_media_upload_tabs() – Outputs the legacy media upload tabs UI. */ /* function get_image_send_to_editor() – Retrieves the image HTML to send to the editor. */ /* function image_add_caption() – Adds image shortcode with caption to editor. */ /* function _cleanup_image_add_caption() – Private preg_replace callback used in image_add_caption() */ /* function media_send_to_editor() – Adds image html to editor */ /* function media_handle_upload() – Saves a file submitted from a POST request and create an attachment post for it. */ /* function media_handle_sideload() – Handles a side-loaded file in the same way as an uploaded file is handled by media_handle_upload(). */ /* function wp_iframe() – Outputs the iframe to display the media upload page. */ /* function media_buttons() – Adds the media button to the editor */ /* function get_upload_iframe_src() – */ /* function media_upload_form_handler() – Handles form submissions for the legacy media uploader. */ /* function wp_media_upload_handler() – Handles the process of uploading media. */ /* function media_sideload_image() – Downloads an image from the specified URL, saves it as an attachment, and optionally attaches it to a post. */ /* function media_upload_gallery() – Retrieves the legacy media uploader form in an iframe. */ /* function media_upload_library() – Retrieves the legacy media library form in an iframe. */ /* function image_align_input_fields() – Retrieve HTML for the image alignment radio buttons with the specified one checked. */ /* function image_size_input_fields() – Retrieve HTML for the size radio buttons with the specified one checked. */ /* function image_link_input_fields() – Retrieve HTML for the Link URL buttons with the default link type as specified. */ /* function wp_caption_input_textarea() – Output a textarea element for inputting an attachment caption. */ /* function image_attachment_fields_to_edit() – Retrieves the image attachment fields to edit form fields. */ /* function media_single_attachment_fields_to_edit() – Retrieves the single non-image attachment fields to edit form fields. */ /* function media_post_single_attachment_fields_to_edit() – Retrieves the post non-image attachment fields to edito form fields. */ /* function image_media_send_to_editor() – Retrieves the media element HTML to send to the editor. */ /* function get_attachment_fields_to_edit() – Retrieves the attachment fields to edit form fields. */ /* function get_media_items() – Retrieve HTML for media items of post gallery. */ /* function get_media_item() – Retrieve HTML form for modifying the image attachment. */ /* function get_compat_media_markup() – */ /* function media_upload_header() – Outputs the legacy media upload header. */ /* function media_upload_form() – Outputs the legacy media upload form. */ /* function media_upload_type_form() – Outputs the legacy media upload form for a given media type. */ /* function media_upload_type_url_form() – Outputs the legacy media upload form for external media. */ /* function media_upload_gallery_form() – Adds gallery form to upload iframe */ /* function media_upload_library_form() – Outputs the legacy media upload form for the media library. */ /* function wp_media_insert_url_form() – Creates the form for external url */ /* function media_upload_flash_bypass() – Displays the multi-file uploader message. */ /* function media_upload_html_bypass() – Displays the browser’s built-in uploader message. */ /* function media_upload_text_after() – Used to display a "After a file has been uploaded. */ /* function media_upload_max_image_resize() – Displays the checkbox to scale images. */ /* function multisite_over_quota_message() – Displays the out of storage quota message in Multisite. */ /* function edit_form_image_editor() – Displays the image and editor in the post editor */ /* function attachment_submitbox_metadata() – Displays non-editable attachment metadata in the publish meta box. */ /* function wp_add_id3_tag_data() – Parse ID3v2, ID3v1, and getID3 comments to extract usable data */ /* function wp_read_video_metadata() – Retrieve metadata from a video file’s ID3 tags */ /* function wp_read_audio_metadata() – Retrieve metadata from an audio file’s ID3 tags. */