File: wp-includes/media.php
-
functionwp_get_attachment_id3_keys()
Returns useful keys to use to lookup data from an attachment’s stored metadata.
-
hookgallery_style
Filters the default gallery shortcode CSS styles.
-
Filters the editable list of keys to look up data from an attachment’s metadata.
-
Outputs the templates used by playlists.
-
functionwp_audio_shortcode()
Builds the Audio shortcode output.
-
functionwp_playlist_scripts()
Outputs and enqueues default scripts and styles for playlists.
-
Filters the default audio shortcode output.
-
functionwp_playlist_shortcode()
Builds the Playlist shortcode output.
-
Filters the list of attachment image attributes.
-
hookget_image_tag
Filters the HTML content for the image tag.
-
functionimg_caption_shortcode()
Builds the Caption shortcode output.
-
functionwp_constrain_dimensions()
Calculates the new dimensions for a down-sampled image.
-
Filters the default caption shortcode output.
-
functionimage_resize_dimensions()
Retrieves calculated resize dimensions for use in WP_Image_Editor.
-
Filters whether to preempt calculating the image resize dimensions.
-
functionimage_make_intermediate_size()
Resizes an image to make a thumbnail or intermediate size.
-
functionimage_get_intermediate_size()
Retrieves the image’s intermediate size (resized) path, width, and height.
-
functionget_intermediate_image_sizes()
Gets the available intermediate image size names.
-
Filters the list of intermediate image sizes.
-
functionwp_get_attachment_image_src()
Retrieves an image to represent an attachment.
-
functionget_image_tag()
Gets an img tag for an image attachment, scaling it down if requested.
-
functionwp_get_attachment_image()
Gets an HTML img element representing an image attachment.
-
Filters the value of the attachment’s image tag class attribute.
-
Scales down the default size of an image.
-
Filters the maximum image size dimensions for the editor.
-
functionimage_hwstring()
Retrieves width and height attributes using given width and height values.
-
functionimage_downsize()
Scales an image to fit a particular size (such as ‘thumb’ or ‘medium’).
-
hookimage_downsize
Filters whether to preempt the output of image_downsize().
-
functionadd_image_size()
Registers a new image size.
-
functionhas_image_size()
Checks if an image size exists.