File: wp-includes/media.php
-
functionget_post_galleries_images()
Retrieves the image srcs from galleries from a post’s content, if present.
-
Filters the Plupload default parameters.
-
functionwp_prepare_attachment_for_js()
Prepares an attachment post object for JS, where it is expected to be JSON-encoded and fit into an Attachment model.
-
Filters the attachment data prepared for JavaScript.
-
functionwp_enqueue_media()
Enqueues all scripts, styles, settings, and templates necessary to use all media JS APIs.
-
Filters the media view settings.
-
Filters the media view strings.
-
hookwp_enqueue_media
Fires at the conclusion of wp_enqueue_media().
-
functionget_attached_media()
Retrieves media attached to the passed post.
-
Filters arguments used to retrieve media attached to the given post.
-
functionwp_max_upload_size()
Determines the maximum upload size allowed in php.ini.
-
Filters the maximum upload size allowed in php.ini.
-
functionwp_get_image_editor()
Returns a WP_Image_Editor instance and loads file into it.
-
functionwp_image_editor_supports()
Tests whether there is an editor that supports a given mime type or methods.
-
hookwp_image_editors
Filters the list of image editing library classes.
-
functionwp_plupload_default_settings()
Prints default Plupload arguments.
-
Filters the Plupload default settings.
-
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.
-
Filters the output of the video shortcode.
-
functionprevious_image_link()
Displays previous image link that has the same post parent.
-
functionnext_image_link()
Displays next image link that has the same post parent.
-
functionadjacent_image_link()
Displays next or previous image link that has the same post parent.
-
Filters the adjacent image link.
-
functionget_attachment_taxonomies()
Retrieves taxonomies attached to given the attachment.
-
functionget_taxonomies_for_attachments()
Retrieves all of the taxonomies that are registered for attachments.
-
Filters the media library used for the audio shortcode.
-
Filters the class attribute for the audio shortcode output container.
-
Filters the audio shortcode output.
-
functionwp_get_video_extensions()
Returns a filtered list of supported video formats.