@package: Media
-
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.
-
functionremove_image_size()
Removes a new image size.
-
functionset_post_thumbnail_size()
Registers an image size for the post thumbnail.
-
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’).
-
functionwp_underscore_audio_template()
Outputs the markup for an audio tag to be used in an Underscore template when data.model is passed.
-
functionwp_underscore_video_template()
Outputs the markup for a video tag to be used in an Underscore template when data.model is passed.
-
functionwp_print_media_templates()
Prints the templates used in the media manager.
-
Fires when the custom Backbone media templates are printed.