File: wp-includes/media.php
-
function_wp_get_image_size_from_meta()
Gets the image size as array from its meta data.
-
Filters the attachment image source result.
-
Filters an attachment ID found by URL.
-
Filters the embedded media types that are allowed to be returned from the content blob.
-
Filters dimensions to constrain down-sampled images to.
-
functionattachment_url_to_postid()
Tries to convert an attachment URL into a post ID.
-
functionwpview_media_sandbox_styles()
Returns the URLs for CSS files used in an iframe-sandbox’d TinyMCE media view.
-
Filters the list of media attached to the given post.
-
functionget_media_embedded_in_content()
Checks the HTML content for an audio, video, object, embed, or iframe tags.
-
functionget_post_galleries()
Retrieves galleries from the passed post’s content.
-
Filters the list of all found galleries in the given post.
-
functionget_post_gallery()
Checks a specified post’s content for gallery and, if present, return the first
-
hookget_post_gallery
Filters the first-found post gallery.
-
functionget_post_galleries_images()
Retrieves the image srcs from galleries from a post’s content, if present.
-
functionget_post_gallery_images()
Checks a post’s content for galleries and return the image srcs for the first found gallery.
-
Maybe attempts to generate attachment metadata, if missing.
-
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_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.
-
functionwp_max_upload_size()
Determines the maximum upload size allowed in php.ini.
-
Filters the media view settings.
-
Filters the maximum upload size allowed in php.ini.
-
Filters the media view strings.
-
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().