@package: Media
-
Prints and enqueues playlist scripts, styles, and JavaScript templates.
-
functionwp_mediaelement_fallback()
Provides a No-JS Flash fallback as a last resort for audio / video.
-
Filters the width of an image’s caption.
-
Filters the MediaElement fallback output for no-JS.
-
functiongallery_shortcode()
Builds the Gallery shortcode output.
-
functionwp_get_audio_extensions()
Returns a filtered list of supported audio formats.
-
hookpost_gallery
Filters the default gallery shortcode output.
-
Filters the list of supported audio formats.
-
Filters whether to print default gallery styles.
-
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.
-
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.
-
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.