Retrieves the value for an image attachment’s ‘sizes’ attribute.
wp_calculate_image_srcset
Filters an image’s ‘srcset’ sources.
wp_calculate_image_srcset_meta
Let plugins pre-filter the image meta to be able to fix inconsistencies in the stored data.
max_srcset_image_width
Filters the maximum image width to be included in a ‘srcset’ attribute.
Advertisement
wp_calculate_image_srcset
A helper function to calculate the image sources to include in a ‘srcset’ attribute.
_wp_get_image_size_from_meta
Get the image size as array from its meta data.
wp_get_attachment_image_srcset
Retrieves the value for an image attachment’s ‘srcset’ attribute.
_wp_get_attachment_relative_path
Get the attachment path relative to the upload directory.
Advertisement
wp_get_attachment_image_url
Get the URL of an image attachment.
wp_get_attachment_image_attributes
Filters the list of attachment image attributes.
wp_get_attachment_image
Get an HTML img element representing an image attachment
wp_get_attachment_image_src
Filters the attachment image source result.
Advertisement
icon_dir
This filter is documented in wp-includes/post.php
wp_get_attachment_image_src
Retrieves an image to represent an attachment.
wp_get_registered_image_subsizes
Returns a normalized list of all currently registered image sub-sizes.