@package: Media
-
functionwp_get_image_editor()
Returns a WP_Image_Editor instance and loads file into it.
-
hookwp_enqueue_media
Fires at the conclusion of wp_enqueue_media().
-
functionwp_image_editor_supports()
Tests whether there is an editor that supports a given mime type or methods.
-
functionget_attached_media()
Retrieves media attached to the passed post.
-
hookwp_image_editors
Filters the list of image editing library classes.
-
Filters arguments used to retrieve media attached to the given post.
-
functionwp_plupload_default_settings()
Prints default Plupload arguments.
-
Filters the Plupload default settings.
-
Filters the Plupload default parameters.
-
functionwp_imagecreatetruecolor()
Creates a new GD image resource with transparency support.
-
functionwp_expand_dimensions()
Based on a supplied width/height example, returns the biggest possible dimensions based on the max width/height.
-
functionget_taxonomies_for_attachments()
Retrieves all of the taxonomies that are registered for attachments.
-
functionwp_video_shortcode()
Builds the Video shortcode output.
-
Filters the default video shortcode output.
-
Filters the media library used for the video shortcode.
-
Filters the class attribute for the video shortcode output container.
-
Filters the output of the video shortcode.
-
functionprevious_image_link()
Displays previous image link that has the same post parent.
-
Filters the media library used for the audio shortcode.
-
functionnext_image_link()
Displays next image link that has the same post parent.
-
Filters the class attribute for the audio shortcode output container.
-
functionadjacent_image_link()
Displays next or previous image link that has the same post parent.
-
Filters the audio shortcode output.
-
Filters the adjacent image link.
-
functionwp_get_video_extensions()
Returns a filtered list of supported video formats.
-
functionget_attachment_taxonomies()
Retrieves taxonomies attached to given the attachment.
-
Filters the list of supported video formats.
-
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.