wp admin includes media.php Notes - WordPress-Thinstall/wordpress-develop GitHub Wiki
interface AdminMediaInterface {
function media_upload_tabs();
function update_gallery_tab($tabs);
function the_media_upload_tabs();
function get_image_send_to_editor( $id, $caption, $title, $align, $url = '', $rel = false, $size = 'medium', $alt = '' );
function image_add_caption( $html, $id, $caption, $title, $align, $url, $size, $alt = '' );
function _cleanup_image_add_caption( $matches );
function media_send_to_editor($html);
function media_handle_upload($file_id, $post_id, $post_data = array(), $overrides = array( 'test_form' => false ));
function media_handle_sideload( $file_array, $post_id, $desc = null, $post_data = array() );
function wp_iframe($content_func /* ... */);
function media_buttons($editor_id = 'content');
function get_upload_iframe_src( $type = null, $post_id = null, $tab = null );
function media_upload_form_handler();
function wp_media_upload_handler();
function media_sideload_image( $file, $post_id, $desc = null, $return = 'html' );
function media_upload_gallery();
function media_upload_library();
function image_align_input_fields( $post, $checked = '' );
function image_size_input_fields( $post, $check = '' );
function image_link_input_fields($post, $url_type = '');
function wp_caption_input_textarea($edit_post);
function image_attachment_fields_to_edit($form_fields, $post);
function media_single_attachment_fields_to_edit( $form_fields, $post );
function media_post_single_attachment_fields_to_edit( $form_fields, $post );
function image_attachment_fields_to_save( $post, $attachment );
function image_media_send_to_editor($html, $attachment_id, $attachment);
function get_attachment_fields_to_edit($post, $errors = null);
function get_media_items( $post_id, $errors );
function get_media_item( $attachment_id, $args = null );
function get_compat_media_markup( $attachment_id, $args = null );
function media_upload_header();
function media_upload_form( $errors = null );
function media_upload_type_form($type = 'file', $errors = null, $id = null);
function media_upload_type_url_form($type = null, $errors = null, $id = null);
function media_upload_gallery_form($errors);
function media_upload_library_form($errors);
function wp_media_insert_url_form( $default_view = 'image' );
function media_upload_flash_bypass();
function media_upload_html_bypass();
function media_upload_text_after();
function media_upload_max_image_resize();
function multisite_over_quota_message();
function edit_form_image_editor( $post );
function attachment_submitbox_metadata();
function wp_add_id3_tag_data( &$metadata, $data );
function wp_read_video_metadata( $file );
function wp_read_audio_metadata( $file );
function wp_media_attach_action( $parent_id, $action = 'attach' );
}