Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
    • WordPress Swag Store
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/media.php / Page 5

wp_playlist_shortcode()

Function: Builds the Playlist shortcode output.

Source: wp-includes/media.php:2717

Used by 0 functions | Uses 19 functions

wp_get_attachment_image_attributes

Filter Hook: Filters the list of attachment image attributes.

Source: wp-includes/media.php:1095

Used by 1 function | Uses 0 functions

get_image_tag

Filter Hook: Filters the HTML content for the image tag.

Source: wp-includes/media.php:411

Used by 1 function | Uses 0 functions

img_caption_shortcode()

Function: Builds the Caption shortcode output.

Source: wp-includes/media.php:2193

Used by 1 function | Uses 7 functions

wp_constrain_dimensions()

Function: Calculates the new dimensions for a down-sampled image.

Source: wp-includes/media.php:433

Used by 7 functions | Uses 1 function

img_caption_shortcode

Filter Hook: Filters the default caption shortcode output.

Source: wp-includes/media.php:2218

Used by 1 function | Uses 0 functions

image_resize_dimensions()

Function: Retrieves calculated resize dimensions for use in WP_Image_Editor.

Source: wp-includes/media.php:530

Used by 3 functions | Uses 3 functions

image_resize_dimensions

Filter Hook: Filters whether to preempt calculating the image resize dimensions.

Source: wp-includes/media.php:556

Used by 1 function | Uses 0 functions

image_make_intermediate_size()

Function: Resizes an image to make a thumbnail or intermediate size.

Source: wp-includes/media.php:676

Used by 0 functions | Uses 2 functions

image_get_intermediate_size()

Function: Retrieves the image’s intermediate size (resized) path, width, and height.

Source: wp-includes/media.php:759

Used by 3 functions | Uses 6 functions

get_intermediate_image_sizes()

Function: Gets the available intermediate image size names.

Source: wp-includes/media.php:859

Used by 7 functions | Uses 2 functions

intermediate_image_sizes

Filter Hook: Filters the list of intermediate image sizes.

Source: wp-includes/media.php:875

Used by 1 function | Uses 0 functions

wp_get_attachment_image_src()

Function: Retrieves an image to represent an attachment.

Source: wp-includes/media.php:952

Used by 14 functions | Uses 5 functions

get_image_tag()

Function: Gets an img tag for an image attachment, scaling it down if requested.

Source: wp-includes/media.php:373

Used by 1 function | Uses 5 functions

wp_get_attachment_image()

Function: Gets an HTML img element representing an image attachment.

Source: wp-includes/media.php:1030

Used by 9 functions | Uses 12 functions

get_image_tag_class

Filter Hook: Filters the value of the attachment’s image tag class attribute.

Source: wp-includes/media.php:394

Used by 1 function | Uses 0 functions

image_constrain_size_for_editor()

Function: Scales down the default size of an image.

Source: wp-includes/media.php:60

Used by 3 functions | Uses 5 functions

editor_max_image_size

Filter Hook: Filters the maximum image size dimensions for the editor.

Source: wp-includes/media.php:133

Used by 1 function | Uses 0 functions

image_hwstring()

Function: Retrieves width and height attributes using given width and height values.

Source: wp-includes/media.php:155

Used by 3 functions | Uses 0 functions

image_downsize()

Function: Scales an image to fit a particular size (such as ‘thumb’ or ‘medium’).

Source: wp-includes/media.php:191

Used by 4 functions | Uses 9 functions

image_downsize

Filter Hook: Filters whether to preempt the output of image_downsize() .

Source: wp-includes/media.php:207

Used by 2 functions | Uses 0 functions

add_image_size()

Function: Registers a new image size.

Source: wp-includes/media.php:291

Used by 2 functions | Uses 1 function

has_image_size()

Function: Checks if an image size exists.

Source: wp-includes/media.php:309

Used by 0 functions | Uses 1 function

remove_image_size()

Function: Removes a new image size.

Source: wp-includes/media.php:324

Used by 0 functions | Uses 0 functions

set_post_thumbnail_size()

Function: Registers an image size for the post thumbnail.

Source: wp-includes/media.php:347

Used by 0 functions | Uses 1 function
Previous 1 2 … 4 5
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry