Check a specified post’s content for gallery and, if present, return the first
get_post_galleries
Retrieves galleries from the passed post’s content.
get_media_embedded_in_content
Check the content HTML for a audio, video, object, embed, or iframe tags.
get_attached_media
Retrieves media attached to the passed post.
Advertisement
wp_enqueue_media
Enqueues all scripts, styles, settings, and templates necessary to use all media JS APIs.
wp_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.
wp_plupload_default_settings
Prints default Plupload arguments.
wp_image_editor_supports
Tests whether there is an editor that supports a given mime type or methods.
Advertisement
wp_get_image_editor
Returns a WP_Image_Editor instance and loads file into it.
wp_max_upload_size
Determines the maximum upload size allowed in php.ini.
wp_expand_dimensions
Based on a supplied width/height example, return the biggest possible dimensions based on the max width/height.
wp_imagecreatetruecolor
Create new GD image resource with transparency support
Advertisement
get_taxonomies_for_attachments
Retrieves all of the taxonomies that are registered for attachments.
get_attachment_taxonomies
Retrieves taxonomies attached to given the attachment.
adjacent_image_link
Displays next or previous image link that has the same post parent.