WPINC_media.php Notes - WordPress-Thinstall/wordpress-develop GitHub Wiki

interface MediaDisplayInterface {
    function wp_get_additional_image_sizes();
    function image_constrain_size_for_editor( $width, $height, $size = 'medium', $context = null );
    function image_hwstring( $width, $height );
    function image_downsize( $id, $size = 'medium' );
    function add_image_size( $name, $width = 0, $height = 0, $crop = false );
    function has_image_size( $name );
    function remove_image_size( $name );
    function set_post_thumbnail_size( $width = 0, $height = 0, $crop = false );
    function get_image_tag( $id, $alt, $title, $align, $size = 'medium' );
    function wp_constrain_dimensions( $current_width, $current_height, $max_width = 0, $max_height = 0 );
    function image_resize_dimensions( $orig_w, $orig_h, $dest_w, $dest_h, $crop = false );
    function image_make_intermediate_size( $file, $width, $height, $crop = false );
    function wp_image_matches_ratio( $source_width, $source_height, $target_width, $target_height );
    function image_get_intermediate_size( $post_id, $size = 'thumbnail' );
    function get_intermediate_image_sizes();
    function wp_get_attachment_image_src( $attachment_id, $size = 'thumbnail', $icon = false );
    function wp_get_attachment_image($attachment_id, $size = 'thumbnail', $icon = false, $attr = '');
    function wp_get_attachment_image_url( $attachment_id, $size = 'thumbnail', $icon = false );
    function _wp_get_attachment_relative_path( $file );
    function _wp_get_image_size_from_meta( $size_name, $image_meta );
    function wp_get_attachment_image_srcset( $attachment_id, $size = 'medium', $image_meta = null );
    function wp_calculate_image_srcset( $size_array, $image_src, $image_meta, $attachment_id = 0 );
    function wp_get_attachment_image_sizes( $attachment_id, $size = 'medium', $image_meta = null );
    function wp_calculate_image_sizes( $size, $image_src = null, $image_meta = null, $attachment_id = 0 );
    function wp_make_content_images_responsive( $content );
    function wp_image_add_srcset_and_sizes( $image, $image_meta, $attachment_id );
    function _wp_post_thumbnail_class_filter( $attr );
    function _wp_post_thumbnail_class_filter_add( $attr );
    function _wp_post_thumbnail_class_filter_remove( $attr );
    function img_caption_shortcode( $attr, $content = null );
    function gallery_shortcode( $attr );
    function wp_underscore_playlist_templates();
    function wp_playlist_scripts( $type );
    function wp_playlist_shortcode( $attr );
    function wp_mediaelement_fallback( $url );
    function wp_get_audio_extensions();
    function wp_get_attachment_id3_keys( $attachment, $context = 'display' );
    function wp_audio_shortcode( $attr, $content = '' );
    function wp_get_video_extensions();
    function wp_video_shortcode( $attr, $content = '' );
    function previous_image_link( $size = 'thumbnail', $text = false );
    function next_image_link( $size = 'thumbnail', $text = false );
    function adjacent_image_link( $prev = true, $size = 'thumbnail', $text = false );
    function get_attachment_taxonomies( $attachment, $output = 'names' );
    function get_taxonomies_for_attachments( $output = 'names' );
    function wp_imagecreatetruecolor($width, $height);
    function wp_expand_dimensions( $example_width, $example_height, $max_width, $max_height );
    function wp_max_upload_size();
    function wp_get_image_editor( $path, $args = array() );
    function wp_image_editor_supports( $args = array() );
    function _wp_image_editor_choose( $args = array() );
    function wp_plupload_default_settings();
    function wp_prepare_attachment_for_js( $attachment );
    function wp_enqueue_media( $args = array() );
    function get_attached_media( $type, $post = 0 );
    function get_media_embedded_in_content( $content, $types = null );
    function get_post_galleries( $post, $html = true );
    function get_post_gallery( $post = 0, $html = true );
    function get_post_galleries_images( $post = 0 );
    function get_post_gallery_images( $post = 0 );
    function wp_maybe_generate_attachment_metadata( $attachment );
    function attachment_url_to_postid( $url );
    function wpview_media_sandbox_styles();
}