Filters an image’s ‘srcset’ sources.
max_srcset_image_width
Filters the maximum image width to be included in a ‘srcset’ attribute.
wp_calculate_image_srcset_meta
Let plugins pre-filter the image meta to be able to fix inconsistencies in the stored data.
wp_get_attachment_image_attributes
Filters the list of attachment image attributes.
Advertisement
wp_get_attachment_image_src
Filters the attachment image source result.
icon_dir
This filter is documented in wp-includes/post.php
intermediate_image_sizes
Filters the list of intermediate image sizes.
image_get_intermediate_size
Filters the output of image_get_intermediate_size()
Advertisement
wp_image_resize_identical_dimensions
Filters whether to proceed with making an image sub-size with identical dimensions with the original/source image. Differences of 1px may be due to rounding and are ignored.
image_resize_dimensions
Filters whether to preempt calculating the image resize dimensions.
wp_constrain_dimensions
Filters dimensions to constrain down-sampled images to.
get_image_tag
Filters the HTML content for the image tag.
Advertisement
get_image_tag_class
Filters the value of the attachment’s image tag class attribute.
image_downsize
This filter is documented in wp-includes/media.php
editor_max_image_size
Filters the maximum image size dimensions for the editor.