wp_calculate_image_srcset()
Function: A helper function to calculate the image sources to include in a ‘srcset’ attribute.
Source: wp-includes/media.php:1044
Function: A helper function to calculate the image sources to include in a ‘srcset’ attribute.
Source: wp-includes/media.php:1044
Filter Hook: Let plugins pre-filter the image meta to be able to fix inconsistencies in the stored data.
Source: wp-includes/media.php:1055
Filter Hook: Filters the maximum image width to be included in a ‘srcset’ attribute.
Source: wp-includes/media.php:1122
Filter Hook: Filters an image’s ‘srcset’ sources.
Source: wp-includes/media.php:1203
Function: Retrieves the value for an image attachment’s ‘sizes’ attribute.
Source: wp-includes/media.php:1233
Function: Creates a ‘sizes’ attribute value for an image.
Source: wp-includes/media.php:1265
Filter Hook: Filters the output of ‘wp_calculate_image_sizes()’.
Source: wp-includes/media.php:1302
Function: Adds ‘srcset’ and ‘sizes’ attributes to an existing ‘img’ element.
Source: wp-includes/media.php:1365
Function: Builds the Caption shortcode output.
Source: wp-includes/media.php:1512
Filter Hook: Filters the default caption shortcode output.
Source: wp-includes/media.php:1537